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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 111.3 kB / 16.41 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 196.5 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.055/1.055, allocations: 173.4 MB / 470.6 MB, free: 13.62 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001915/0.001915, allocations: 71.69 kB / 0.6478 GB, free: 11.8 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1702, allocations: 89.51 MB / 0.7352 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004933/0.1751, allocations: 3.083 MB / 0.7382 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002993/0.1782, allocations: 1.729 MB / 0.7399 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.1783, allocations: 4 kB / 0.7399 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.1794, allocations: 330.7 kB / 0.7402 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005389/0.18, allocations: 211.1 kB / 0.7404 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.1805, allocations: 175.5 kB / 0.7406 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000468/0.181, allocations: 327 kB / 0.7409 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004365/0.1814, allocations: 236.7 kB / 0.7411 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.1817, allocations: 139.5 kB / 0.7412 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.182, allocations: 155.5 kB / 0.7414 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.834e-05/0.1821, allocations: 20 kB / 0.7414 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004513/0.1826, allocations: 251.4 kB / 0.7416 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1827, allocations: 99.77 kB / 0.7417 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.1828, allocations: 123.5 kB / 0.7419 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.1834, allocations: 422.4 kB / 0.7423 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1834, allocations: 4 kB / 0.7423 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1835, allocations: 4 kB / 0.7423 GB, free: 11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.1835, allocations: 0 / 0.7423 GB, free: 11 MB / 0.5762 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.0009886/0.1845, allocations: 0.5493 MB / 0.7428 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1845, allocations: 12.03 kB / 0.7428 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.628e-05/0.1846, allocations: 58.73 kB / 0.7429 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007498/0.1853, allocations: 92.69 kB / 0.743 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.1857, allocations: 273.9 kB / 0.7432 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.1857, allocations: 12.81 kB / 0.7432 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.1858, allocations: 36.5 kB / 0.7433 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.1864, allocations: 368.9 kB / 0.7436 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1865, allocations: 7.984 kB / 0.7436 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.1865, allocations: 7.984 kB / 0.7436 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.1866, allocations: 28.42 kB / 0.7437 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.1871, allocations: 309.5 kB / 0.744 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.1892, allocations: 1.526 MB / 0.7454 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.1896, allocations: 230.4 kB / 0.7457 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.1898, allocations: 116.8 kB / 0.7458 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.19, allocations: 89.09 kB / 0.7459 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.19, allocations: 30.56 kB / 0.7459 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.813e-06/0.19, allocations: 0 / 0.7459 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001395/0.1914, allocations: 0.7967 MB / 0.7467 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1915, allocations: 59.34 kB / 0.7467 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.1917, allocations: 195.4 kB / 0.7469 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.1918, allocations: 29.7 kB / 0.7469 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1919, allocations: 168.2 kB / 0.7471 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.1919, allocations: 63.44 kB / 0.7472 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.192, allocations: 57.64 kB / 0.7472 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1922, allocations: 338.8 kB / 0.7475 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.1924, allocations: 107.9 kB / 0.7476 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.1926, allocations: 167.5 kB / 0.7478 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.1931, allocations: 304.9 kB / 0.7481 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1931, allocations: 0 / 0.7481 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008503/0.1939, allocations: 418 kB / 0.7485 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.194, allocations: 8 kB / 0.7485 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.194, allocations: 0 / 0.7485 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004704/0.1945, allocations: 92.77 kB / 0.7486 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.1947, allocations: 55.98 kB / 0.7486 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.1969, allocations: 1.883 MB / 0.7505 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.1972, allocations: 19.95 kB / 0.7505 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.1972, allocations: 8 kB / 0.7505 GB, free: 1.965 MB / 0.5762 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.0001811/0.1974, allocations: 157.8 kB / 0.7507 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.1975, allocations: 19.92 kB / 0.7507 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/0.198, allocations: 297.6 kB / 0.751 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.198, allocations: 7.984 kB / 0.751 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.198, allocations: 0 / 0.751 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.198, allocations: 3.938 kB / 0.751 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000977/0.199, allocations: 0.7056 MB / 0.7517 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.199, allocations: 0 / 0.7517 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.1994, allocations: 67.83 kB / 0.7517 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1994, allocations: 3.938 kB / 0.7517 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.1994, allocations: 7.984 kB / 0.7517 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1994, allocations: 0 / 0.7517 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.1994, allocations: 4 kB / 0.7517 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/0.2001, allocations: 0.5126 MB / 0.7522 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3203/0.5204, allocations: 114.4 kB / 0.7523 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.5205, allocations: 7.828 kB / 0.7524 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.5208, allocations: 15 kB / 0.7524 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.5208, allocations: 10.75 kB / 0.7524 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.5209, allocations: 8.344 kB / 0.7524 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001467/0.521, allocations: 146.1 kB / 0.7525 GB, free: 18.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.521, allocations: 0 / 0.7525 GB, free: 18.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004995/0.5215, allocations: 70.77 kB / 0.7526 GB, free: 18.46 MB / 0.5762 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.0009077/0.5224, allocations: 1.057 MB / 0.7536 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007481/0.5232, allocations: 429.8 kB / 0.754 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5232, allocations: 2.094 kB / 0.754 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.5234, allocations: 125.1 kB / 0.7542 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.5238, allocations: 35.66 kB / 0.7542 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.5269, allocations: 2.883 MB / 0.757 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.5271, allocations: 0.7711 MB / 0.7578 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001543/0.5272, allocations: 56.72 kB / 0.7578 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.5274, allocations: 69.95 kB / 0.7579 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.5274, allocations: 1.094 kB / 0.7579 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/0.5617, allocations: 5.09 MB / 0.7629 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.905/10.47, allocations: 5.766 kB / 0.7629 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 14.250274149002507] Failed to read output from testmodel.py, exit status != 0: 10.547103657969274 10.562146248 10.375352452 Calling exit ...