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.00086/0.00086, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.001017/0.001017, allocations: 173.9 kB / 23.21 MB, free: 1.359 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.8916/0.8916, allocations: 177.1 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.561/0.561, allocations: 114 MB / 373.9 MB, free: 8.699 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 1.573e-06/1.573e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.23e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003495/0.003518, allocations: 3.054 MB / 0.5572 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.005446, allocations: 1.675 MB / 0.5588 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.005565, allocations: 4 kB / 0.5588 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008075/0.006372, allocations: 341.8 kB / 0.5591 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003891/0.006761, allocations: 210.9 kB / 0.5593 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.007123, allocations: 187.2 kB / 0.5595 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.007425, allocations: 322.9 kB / 0.5598 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.007744, allocations: 177 kB / 0.56 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.008006, allocations: 191.5 kB / 0.5602 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.008256, allocations: 147.6 kB / 0.5603 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.008286, allocations: 24 kB / 0.5603 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.008553, allocations: 223.4 kB / 0.5605 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.845e-05/0.008641, allocations: 111.7 kB / 0.5607 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.008871, allocations: 87.77 kB / 0.5607 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004239/0.009295, allocations: 442.7 kB / 0.5612 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.009299, allocations: 3.938 kB / 0.5612 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.794e-06/0.0093, allocations: 0 / 0.5612 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.009305, allocations: 0 / 0.5612 GB, free: 11.6 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.0008358/0.01014, allocations: 485.4 kB / 0.5616 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.0102, allocations: 8.031 kB / 0.5616 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.01025, allocations: 62.72 kB / 0.5617 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004317/0.01068, allocations: 96.69 kB / 0.5618 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.01097, allocations: 193.4 kB / 0.562 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.01099, allocations: 20.86 kB / 0.562 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.851e-05/0.01109, allocations: 20.56 kB / 0.562 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.01156, allocations: 432.9 kB / 0.5624 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.01157, allocations: 192 / 0.5624 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.0116, allocations: 15.94 kB / 0.5624 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.209e-05/0.01168, allocations: 24.48 kB / 0.5625 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.01201, allocations: 309.8 kB / 0.5628 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.01317, allocations: 1.097 MB / 0.5638 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.01348, allocations: 210.4 kB / 0.564 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.01358, allocations: 108.7 kB / 0.5641 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-05/0.01367, allocations: 11.94 kB / 0.5641 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.01369, allocations: 38.86 kB / 0.5642 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.824e-06/0.01369, allocations: 0 / 0.5642 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.001/0.0147, allocations: 0.7204 MB / 0.5649 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.01473, allocations: 55.41 kB / 0.5649 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.01489, allocations: 202.6 kB / 0.5651 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.01491, allocations: 33.7 kB / 0.5652 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.01499, allocations: 160.2 kB / 0.5653 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.01503, allocations: 71.38 kB / 0.5654 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.0151, allocations: 49.7 kB / 0.5654 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.0152, allocations: 326.8 kB / 0.5657 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.01533, allocations: 123.9 kB / 0.5659 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.01547, allocations: 165.9 kB / 0.566 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.01575, allocations: 291.1 kB / 0.5663 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01575, allocations: 11.88 kB / 0.5663 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005183/0.01627, allocations: 412.2 kB / 0.5667 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.01629, allocations: 8 kB / 0.5667 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.0163, allocations: 3.938 kB / 0.5667 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/0.01657, allocations: 104.9 kB / 0.5668 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.01673, allocations: 47.91 kB / 0.5669 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.01813, allocations: 1.76 MB / 0.5686 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.01823, allocations: 20.08 kB / 0.5686 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.01825, allocations: 15.94 kB / 0.5686 GB, free: 3.543 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.0001203/0.01837, allocations: 153.8 kB / 0.5688 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.0184, allocations: 19.86 kB / 0.5688 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.01872, allocations: 299.2 kB / 0.5691 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01873, allocations: 4 kB / 0.5691 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01873, allocations: 0 / 0.5691 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01873, allocations: 4 kB / 0.5691 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.01933, allocations: 0.6436 MB / 0.5697 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.01933, allocations: 0 / 0.5697 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.01949, allocations: 59.89 kB / 0.5698 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.0195, allocations: 0 / 0.5698 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.01951, allocations: 15.97 kB / 0.5698 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01952, allocations: 0 / 0.5698 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01952, allocations: 3.938 kB / 0.5698 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.01993, allocations: 0.5217 MB / 0.5703 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.01999, allocations: 36 kB / 0.5703 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.02001, allocations: 8 kB / 0.5703 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/0.0201, allocations: 19.92 kB / 0.5703 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.02013, allocations: 11.97 kB / 0.5704 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.02014, allocations: 11.94 kB / 0.5704 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.811e-05/0.02022, allocations: 148 kB / 0.5705 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.02022, allocations: 0 / 0.5705 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002585/0.02048, allocations: 67.94 kB / 0.5706 GB, free: 1.441 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.0006628/0.02115, allocations: 1.054 MB / 0.5716 GB, free: 360 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.02167, allocations: 406.3 kB / 0.572 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02167, allocations: 3.938 kB / 0.572 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.02177, allocations: 107.9 kB / 0.5721 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.02206, allocations: 50.86 kB / 0.5721 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.02458, allocations: 2.835 MB / 0.5749 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.02469, allocations: 161.2 kB / 0.5751 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.02481, allocations: 61.91 kB / 0.5751 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.0249, allocations: 68.47 kB / 0.5752 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of SimCode: time 8.51e-07/0.0249, allocations: 0 / 0.5752 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.0474, allocations: 5.848 MB / 0.5809 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/7.001, allocations: 7.922 kB / 0.5809 GB, free: 6.863 MB / 0.5417 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.543736275285482] Failed to read output from testmodel.py, exit status != 0: 7.084284381940961 7.095636497 7.083672976 Calling exit ...