Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008159/0.0008159, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9172/0.9172, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7171/0.7171, allocations: 154.5 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.99e-05, allocations: 6.281 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003251/0.003271, allocations: 3.057 MB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.005123, allocations: 1.663 MB / 0.6226 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.005248, allocations: 7.938 kB / 0.6227 GB, free: 9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006752/0.005923, allocations: 338.6 kB / 0.623 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.006309, allocations: 214.8 kB / 0.6232 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.006676, allocations: 179.4 kB / 0.6234 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.006975, allocations: 326.8 kB / 0.6237 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.00725, allocations: 180.9 kB / 0.6238 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.007487, allocations: 195.5 kB / 0.624 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.007706, allocations: 151.6 kB / 0.6242 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.007733, allocations: 20 kB / 0.6242 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.007995, allocations: 223.4 kB / 0.6244 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.614e-05/0.008081, allocations: 107.7 kB / 0.6245 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.731e-05/0.008148, allocations: 87.81 kB / 0.6246 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.008545, allocations: 442.6 kB / 0.625 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.008548, allocations: 4 kB / 0.625 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.82e-07/0.008549, allocations: 0 / 0.625 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.008553, allocations: 4 kB / 0.625 GB, free: 6.57 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006409/0.009194, allocations: 481.4 kB / 0.6255 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.00923, allocations: 17.41 kB / 0.6255 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.615e-05/0.009297, allocations: 58.73 kB / 0.6256 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/0.009694, allocations: 92.69 kB / 0.6256 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.009932, allocations: 201.3 kB / 0.6258 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.009946, allocations: 20.88 kB / 0.6259 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.01001, allocations: 20.56 kB / 0.6259 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.01042, allocations: 424.9 kB / 0.6263 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.01043, allocations: 192 / 0.6263 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.01045, allocations: 19.92 kB / 0.6263 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.794e-05/0.01051, allocations: 28.42 kB / 0.6263 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.01082, allocations: 305.8 kB / 0.6266 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.01189, allocations: 1.078 MB / 0.6277 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.01216, allocations: 210.4 kB / 0.6279 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.62e-05/0.01226, allocations: 108.8 kB / 0.628 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-05/0.01233, allocations: 8.25 kB / 0.628 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.01235, allocations: 38.55 kB / 0.628 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.01235, allocations: 0 / 0.628 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.0009038/0.01326, allocations: 0.7189 MB / 0.6287 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.01329, allocations: 59.28 kB / 0.6288 GB, free: 2.504 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.01344, allocations: 207.7 kB / 0.629 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.01346, allocations: 29.7 kB / 0.629 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.01353, allocations: 160.2 kB / 0.6292 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.01358, allocations: 71.41 kB / 0.6292 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.01364, allocations: 57.66 kB / 0.6293 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.01372, allocations: 326.8 kB / 0.6296 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.01384, allocations: 115.9 kB / 0.6297 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.01399, allocations: 170.9 kB / 0.6299 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.01427, allocations: 304.5 kB / 0.6302 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01428, allocations: 3.938 kB / 0.6302 GB, free: 1.016 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005118/0.01479, allocations: 410 kB / 0.6305 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.0148, allocations: 8 kB / 0.6306 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.01481, allocations: 4.125 kB / 0.6306 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002921/0.0151, allocations: 100.8 kB / 0.6307 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.01529, allocations: 55.89 kB / 0.6307 GB, free: 448 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.01657, allocations: 1.76 MB / 0.6324 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.01668, allocations: 15.98 kB / 0.6324 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.0167, allocations: 12 kB / 0.6325 GB, free: 14.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.0168, allocations: 158.7 kB / 0.6326 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.01683, allocations: 19.91 kB / 0.6326 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.01714, allocations: 309.4 kB / 0.6329 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.01715, allocations: 4 kB / 0.6329 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01715, allocations: 0 / 0.6329 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01715, allocations: 0 / 0.6329 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.01776, allocations: 0.6397 MB / 0.6335 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.01777, allocations: 4 kB / 0.6336 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.01793, allocations: 55.95 kB / 0.6336 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.01793, allocations: 8.062 kB / 0.6336 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.01795, allocations: 7.922 kB / 0.6336 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01795, allocations: 4 kB / 0.6336 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.01795, allocations: 4.062 kB / 0.6336 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.0184, allocations: 0.5107 MB / 0.6341 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.01846, allocations: 47.86 kB / 0.6342 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.01848, allocations: 4 kB / 0.6342 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.349e-05/0.01857, allocations: 15.92 kB / 0.6342 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.01861, allocations: 15.88 kB / 0.6342 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.01862, allocations: 15.94 kB / 0.6342 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.925e-05/0.01871, allocations: 144.7 kB / 0.6344 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01871, allocations: 0 / 0.6344 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002543/0.01896, allocations: 68 kB / 0.6344 GB, free: 12.42 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006564/0.01962, allocations: 1.048 MB / 0.6354 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005044/0.02012, allocations: 419.4 kB / 0.6358 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02013, allocations: 0 / 0.6358 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.02023, allocations: 107.9 kB / 0.6359 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.02049, allocations: 39.95 kB / 0.636 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.02303, allocations: 2.852 MB / 0.6388 GB, free: 7.785 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.02315, allocations: 165.1 kB / 0.6389 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.02327, allocations: 53.91 kB / 0.639 GB, free: 7.555 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.81e-05/0.02336, allocations: 72.47 kB / 0.6391 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.02336, allocations: 0 / 0.6391 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.04343, allocations: 5.847 MB / 0.6448 GB, free: 1.844 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.109/7.153, allocations: 0 / 0.6448 GB, free: 1.844 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.851952373050153] Failed to read output from testmodel.py, exit status != 0: 7.2355469055473804 7.244004414 7.233570018 Calling exit ...