Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 106 kB / 16.4 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 195.8 kB / 17.34 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6557/0.6557, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.8 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1216, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006098/0.1278, allocations: 4.134 MB / 0.6356 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003996/0.1318, allocations: 2.358 MB / 0.6379 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003576/0.1322, allocations: 7.938 kB / 0.6379 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.1337, allocations: 0.5486 MB / 0.6385 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007033/0.1345, allocations: 290.6 kB / 0.6387 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008119/0.1353, allocations: 345.9 kB / 0.6391 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006789/0.136, allocations: 0.5607 MB / 0.6396 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.1365, allocations: 370.6 kB / 0.64 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003521/0.1369, allocations: 235.2 kB / 0.6402 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.1374, allocations: 271.1 kB / 0.6405 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-05/0.1374, allocations: 32 kB / 0.6405 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00046/0.1379, allocations: 291.5 kB / 0.6408 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.1381, allocations: 175.6 kB / 0.6409 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.1383, allocations: 218.9 kB / 0.6411 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007017/0.139, allocations: 0.6628 MB / 0.6418 GB, free: 10.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1391, allocations: 4 kB / 0.6418 GB, free: 10.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1391, allocations: 0 / 0.6418 GB, free: 10.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1391, allocations: 0 / 0.6418 GB, free: 10.41 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00121/0.1403, allocations: 0.7175 MB / 0.6425 GB, free: 9.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1403, allocations: 8.031 kB / 0.6425 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.507e-05/0.1404, allocations: 86.69 kB / 0.6426 GB, free: 9.539 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.1416, allocations: 160.2 kB / 0.6427 GB, free: 9.383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.142, allocations: 332.5 kB / 0.6431 GB, free: 9.016 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.142, allocations: 21.38 kB / 0.6431 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.714e-05/0.1421, allocations: 40.36 kB / 0.6431 GB, free: 8.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008503/0.143, allocations: 0.6417 MB / 0.6437 GB, free: 8.258 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.143, allocations: 0 / 0.6437 GB, free: 8.258 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.143, allocations: 19.94 kB / 0.6438 GB, free: 8.238 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.518e-05/0.1431, allocations: 48.5 kB / 0.6438 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007814/0.1439, allocations: 490.1 kB / 0.6443 GB, free: 7.715 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.1473, allocations: 3.424 MB / 0.6476 GB, free: 4.004 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.1479, allocations: 388.7 kB / 0.648 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.1482, allocations: 169.6 kB / 0.6482 GB, free: 3.434 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.1482, allocations: 4 kB / 0.6482 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1483, allocations: 38.56 kB / 0.6482 GB, free: 3.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.1483, allocations: 0 / 0.6482 GB, free: 3.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=26): time 0.00435/0.1526, allocations: 1.453 MB / 0.6496 GB, free: 1.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.1527, allocations: 85.05 kB / 0.6497 GB, free: 1.777 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.153, allocations: 336.4 kB / 0.65 GB, free: 1.441 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.1531, allocations: 33.7 kB / 0.65 GB, free: 1.402 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.1532, allocations: 259.3 kB / 0.6503 GB, free: 1.141 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.1533, allocations: 94.66 kB / 0.6504 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.1535, allocations: 94.14 kB / 0.6505 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1536, allocations: 338.8 kB / 0.6508 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.1539, allocations: 191 kB / 0.651 GB, free: 428 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.1544, allocations: 346.1 kB / 0.6513 GB, free: 12 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007306/0.1551, allocations: 0.543 MB / 0.6518 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1552, allocations: 4 kB / 0.6518 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002403/0.1576, allocations: 0.9159 MB / 0.6527 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.1576, allocations: 8.438 kB / 0.6527 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.1576, allocations: 15.94 kB / 0.6528 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/0.1599, allocations: 0.4932 MB / 0.6532 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.1603, allocations: 95.81 kB / 0.6533 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005334/0.1656, allocations: 4.068 MB / 0.6573 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.1661, allocations: 39.88 kB / 0.6573 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.1662, allocations: 27.98 kB / 0.6574 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004291/0.1666, allocations: 309.2 kB / 0.6577 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003499/0.167, allocations: 335.3 kB / 0.658 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006262/0.1676, allocations: 0.5062 MB / 0.6585 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/0.1676, allocations: 0 / 0.6585 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008297/0.1685, allocations: 0.5402 MB / 0.659 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1685, allocations: 9.406 kB / 0.659 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1685, allocations: 8 kB / 0.659 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1685, allocations: 15.88 kB / 0.659 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.1689, allocations: 111.8 kB / 0.6591 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1689, allocations: 15.94 kB / 0.6592 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.1693, allocations: 43.8 kB / 0.6592 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.1694, allocations: 28.19 kB / 0.6592 GB, free: 7.355 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.1695, allocations: 216 kB / 0.6594 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/0.1696, allocations: 35.56 kB / 0.6595 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.1712, allocations: 0.6657 MB / 0.6601 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1712, allocations: 8 kB / 0.6601 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.1712, allocations: 0 / 0.6601 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1712, allocations: 0 / 0.6601 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000859/0.1721, allocations: 0.6558 MB / 0.6608 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1721, allocations: 4 kB / 0.6608 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.1723, allocations: 43.91 kB / 0.6608 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.1737, allocations: 401.3 kB / 0.6612 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.1738, allocations: 4 kB / 0.6612 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003705/0.1775, allocations: 3.758 MB / 0.6649 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1775, allocations: 4 kB / 0.6649 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.179, allocations: 0.8416 MB / 0.6657 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.1792, allocations: 144.6 kB / 0.6658 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.1792, allocations: 4 kB / 0.6658 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.1796, allocations: 35.94 kB / 0.6659 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.1797, allocations: 19.97 kB / 0.6659 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1797, allocations: 12 kB / 0.6659 GB, free: 100 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002795/0.18, allocations: 243 kB / 0.6661 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.18, allocations: 0 / 0.6661 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007988/0.1808, allocations: 196 kB / 0.6663 GB, free: 15.67 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001959/0.1828, allocations: 1.402 MB / 0.6677 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001607/0.1844, allocations: 0.9833 MB / 0.6687 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1844, allocations: 0 / 0.6687 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006782/0.1851, allocations: 477.8 kB / 0.6691 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.1856, allocations: 75.62 kB / 0.6692 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007301/0.1929, allocations: 4.538 MB / 0.6736 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.1934, allocations: 0.8506 MB / 0.6744 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003835/0.1938, allocations: 143.1 kB / 0.6746 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.194, allocations: 119.4 kB / 0.6747 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of SimCode: time 4.4e-07/0.194, allocations: 3.938 kB / 0.6747 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.2248, allocations: 10.84 MB / 0.6853 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.26, allocations: 4.344 kB / 0.6853 GB, free: 12.05 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)