Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00113/0.00113, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001385/0.001385, allocations: 177.9 kB / 23.21 MB, free: 1.355 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.942/0.942, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5819/0.5819, allocations: 114 MB / 373.9 MB, free: 8.719 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.191e-05, allocations: 4.906 kB / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003903/0.003935, allocations: 3.052 MB / 0.5572 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002204/0.006139, allocations: 1.671 MB / 0.5588 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.006271, allocations: 7.938 kB / 0.5588 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007039/0.006975, allocations: 338.6 kB / 0.5591 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.007358, allocations: 214.8 kB / 0.5593 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.007713, allocations: 179.4 kB / 0.5595 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.008043, allocations: 326.9 kB / 0.5598 GB, free: 13 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003351/0.008378, allocations: 169 kB / 0.56 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006232/0.009001, allocations: 199.5 kB / 0.5602 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.009235, allocations: 151.6 kB / 0.5603 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.009262, allocations: 20 kB / 0.5603 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.009527, allocations: 231.3 kB / 0.5606 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.992e-05/0.009617, allocations: 107.7 kB / 0.5607 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.091e-05/0.009687, allocations: 83.81 kB / 0.5607 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.01008, allocations: 438.7 kB / 0.5612 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.01008, allocations: 0 / 0.5612 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01008, allocations: 0 / 0.5612 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.01009, allocations: 4 kB / 0.5612 GB, free: 11.62 MB / 0.5261 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.0007262/0.01081, allocations: 497.3 kB / 0.5616 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.01085, allocations: 8.625 kB / 0.5616 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.0109, allocations: 54.73 kB / 0.5617 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004205/0.01132, allocations: 96.69 kB / 0.5618 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.01156, allocations: 189.5 kB / 0.562 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.01158, allocations: 28.86 kB / 0.562 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.01166, allocations: 24.56 kB / 0.562 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.01207, allocations: 428.9 kB / 0.5624 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.01208, allocations: 4.188 kB / 0.5624 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.01211, allocations: 7.938 kB / 0.5624 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.809e-05/0.01217, allocations: 28.48 kB / 0.5625 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.01249, allocations: 305.8 kB / 0.5628 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.01357, allocations: 1.093 MB / 0.5638 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.01386, allocations: 210.4 kB / 0.564 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.697e-05/0.01396, allocations: 100.8 kB / 0.5641 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.462e-05/0.01404, allocations: 19.86 kB / 0.5641 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.01406, allocations: 42.81 kB / 0.5642 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.064e-06/0.01407, allocations: 0 / 0.5642 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.0008914/0.01496, allocations: 0.7164 MB / 0.5649 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.01499, allocations: 55.41 kB / 0.5649 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.01513, allocations: 206.7 kB / 0.5651 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.01515, allocations: 25.7 kB / 0.5652 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.01522, allocations: 164.2 kB / 0.5653 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.01526, allocations: 75.38 kB / 0.5654 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.01532, allocations: 53.69 kB / 0.5654 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.0154, allocations: 330.8 kB / 0.5657 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.01552, allocations: 111.9 kB / 0.5659 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.01566, allocations: 169.9 kB / 0.566 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.01593, allocations: 297.7 kB / 0.5663 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01593, allocations: 3.938 kB / 0.5663 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004873/0.01642, allocations: 416.1 kB / 0.5667 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.01643, allocations: 4 kB / 0.5667 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.01644, allocations: 12.12 kB / 0.5667 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/0.0167, allocations: 92.77 kB / 0.5668 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.01685, allocations: 55.89 kB / 0.5669 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.01841, allocations: 1.76 MB / 0.5686 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01853, allocations: 19.97 kB / 0.5686 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.01854, allocations: 4 kB / 0.5686 GB, free: 3.574 MB / 0.5261 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.0001178/0.01866, allocations: 161.7 kB / 0.5688 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.01869, allocations: 23.92 kB / 0.5688 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.01902, allocations: 295.3 kB / 0.5691 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01902, allocations: 0 / 0.5691 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01902, allocations: 0 / 0.5691 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01902, allocations: 0 / 0.5691 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/0.01962, allocations: 0.6536 MB / 0.5697 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01962, allocations: 0 / 0.5697 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.01979, allocations: 55.95 kB / 0.5697 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01979, allocations: 4.062 kB / 0.5698 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.01981, allocations: 8 kB / 0.5698 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01981, allocations: 0 / 0.5698 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.01981, allocations: 3.938 kB / 0.5698 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.02023, allocations: 0.5195 MB / 0.5703 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.02029, allocations: 35.92 kB / 0.5703 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.02031, allocations: 7.984 kB / 0.5703 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/0.0204, allocations: 15.92 kB / 0.5703 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.02043, allocations: 11.98 kB / 0.5703 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.02044, allocations: 8 kB / 0.5703 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.566e-05/0.02052, allocations: 152.1 kB / 0.5705 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.02052, allocations: 3.938 kB / 0.5705 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002434/0.02077, allocations: 71.94 kB / 0.5706 GB, free: 1.469 MB / 0.5261 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.0006373/0.0214, allocations: 1.054 MB / 0.5716 GB, free: 388 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005271/0.02193, allocations: 410.6 kB / 0.572 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.02193, allocations: 0 / 0.572 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.02204, allocations: 119.8 kB / 0.5721 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.02232, allocations: 34.36 kB / 0.5721 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.02512, allocations: 2.837 MB / 0.5749 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.02524, allocations: 169.2 kB / 0.5751 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.02535, allocations: 61.91 kB / 0.5751 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.02544, allocations: 68.47 kB / 0.5752 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of SimCode: time 9.12e-07/0.02544, allocations: 0 / 0.5752 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.0465, allocations: 5.836 MB / 0.5809 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/7.418, allocations: 14.69 kB / 0.5809 GB, free: 6.895 MB / 0.5417 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.088879934512079] Failed to read output from testmodel.py, exit status != 0: 7.509066083468497 7.51844821 7.506592231 Calling exit ...