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.003806/0.003806, allocations: 101.1 kB / 15.88 MB, free: 6.312 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.0009402/0.0009402, allocations: 194.8 kB / 16.79 MB, free: 6.242 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.185/1.185, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6158/0.6158, allocations: 115.4 MB / 406 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 65.47 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1265, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005064/0.1316, allocations: 4.176 MB / 0.5599 GB, free: 6.527 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003205/0.1349, allocations: 2.221 MB / 0.5621 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.1351, allocations: 4 kB / 0.5621 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.1365, allocations: 0.5089 MB / 0.5626 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004997/0.137, allocations: 254.9 kB / 0.5628 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007165/0.1377, allocations: 307.4 kB / 0.5631 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000718/0.1384, allocations: 0.8102 MB / 0.5639 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005397/0.139, allocations: 372.4 kB / 0.5643 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.1392, allocations: 199.2 kB / 0.5645 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.1396, allocations: 294.9 kB / 0.5648 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.1396, allocations: 24 kB / 0.5648 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.1401, allocations: 307.4 kB / 0.5651 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.1402, allocations: 171.6 kB / 0.5652 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.1404, allocations: 202.9 kB / 0.5654 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.141, allocations: 0.6347 MB / 0.566 GB, free: 256 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.141, allocations: 4 kB / 0.566 GB, free: 252 kB / 430.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.141, allocations: 4 kB / 0.5661 GB, free: 248 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.141, allocations: 0 / 0.5661 GB, free: 248 kB / 430.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.001156/0.1422, allocations: 0.7137 MB / 0.5667 GB, free: 15.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1422, allocations: 11.97 kB / 0.5668 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.865e-05/0.1423, allocations: 82.7 kB / 0.5668 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009085/0.1432, allocations: 144.2 kB / 0.567 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.1436, allocations: 312.6 kB / 0.5673 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.1436, allocations: 29.36 kB / 0.5673 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.1437, allocations: 36.38 kB / 0.5673 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007963/0.1445, allocations: 0.6261 MB / 0.5679 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.1445, allocations: 7.938 kB / 0.568 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.1446, allocations: 19.98 kB / 0.568 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.904e-05/0.1447, allocations: 44.62 kB / 0.568 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006658/0.1453, allocations: 478.2 kB / 0.5685 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003017/0.1484, allocations: 3.413 MB / 0.5718 GB, free: 9.902 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/0.149, allocations: 376.9 kB / 0.5722 GB, free: 9.516 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.1492, allocations: 177.6 kB / 0.5723 GB, free: 9.336 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.1493, allocations: 3.984 kB / 0.5723 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.1493, allocations: 38.56 kB / 0.5724 GB, free: 9.285 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.302e-06/0.1493, allocations: 0 / 0.5724 GB, free: 9.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.004355/0.1537, allocations: 1.464 MB / 0.5738 GB, free: 7.773 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.1537, allocations: 81.05 kB / 0.5739 GB, free: 7.676 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.154, allocations: 328.4 kB / 0.5742 GB, free: 7.348 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.1541, allocations: 33.7 kB / 0.5742 GB, free: 7.309 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.1542, allocations: 259.2 kB / 0.5745 GB, free: 7.047 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/0.1543, allocations: 94.73 kB / 0.5746 GB, free: 6.953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.1544, allocations: 94.06 kB / 0.5747 GB, free: 6.855 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1545, allocations: 342.8 kB / 0.575 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.1548, allocations: 183 kB / 0.5752 GB, free: 6.332 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.1551, allocations: 342.1 kB / 0.5755 GB, free: 5.926 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/0.1558, allocations: 0.5313 MB / 0.576 GB, free: 5.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1558, allocations: 4 kB / 0.576 GB, free: 5.316 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002211/0.158, allocations: 0.912 MB / 0.5769 GB, free: 4.391 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.158, allocations: 4 kB / 0.5769 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.158, allocations: 11.94 kB / 0.5769 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002161/0.1602, allocations: 0.4974 MB / 0.5774 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.1606, allocations: 99.81 kB / 0.5775 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1947/0.3553, allocations: 3.75 MB / 0.5812 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.3558, allocations: 45.67 kB / 0.5812 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.3558, allocations: 24.53 kB / 0.5812 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003939/0.3562, allocations: 301.2 kB / 0.5815 GB, free: 30.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002951/0.3566, allocations: 330.5 kB / 0.5818 GB, free: 30.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004838/0.357, allocations: 0.5038 MB / 0.5823 GB, free: 30.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/0.3571, allocations: 4.125 kB / 0.5823 GB, free: 30.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007436/0.3578, allocations: 0.5248 MB / 0.5828 GB, free: 30.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3578, allocations: 11.19 kB / 0.5828 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3578, allocations: 5.562 kB / 0.5828 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.3578, allocations: 8.812 kB / 0.5829 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.3582, allocations: 113.5 kB / 0.583 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3583, allocations: 14.08 kB / 0.583 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.3585, allocations: 38.59 kB / 0.583 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.3586, allocations: 22.17 kB / 0.583 GB, free: 30.36 MB / 446.1 MB 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.0001177/0.3587, allocations: 205.4 kB / 0.5832 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-05/0.3588, allocations: 37.34 kB / 0.5833 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.3604, allocations: 0.6687 MB / 0.5839 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3604, allocations: 4.078 kB / 0.5839 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.3605, allocations: 1.156 kB / 0.5839 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3605, allocations: 1.312 kB / 0.5839 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007846/0.3613, allocations: 0.6535 MB / 0.5846 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3613, allocations: 2.234 kB / 0.5846 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.3615, allocations: 47.67 kB / 0.5846 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001529/0.363, allocations: 398.7 kB / 0.585 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.363, allocations: 9.844 kB / 0.585 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003208/0.3662, allocations: 3.485 MB / 0.5884 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.3663, allocations: 3.844 kB / 0.5884 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.3678, allocations: 0.8303 MB / 0.5892 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.368, allocations: 141.3 kB / 0.5894 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.368, allocations: 7.25 kB / 0.5894 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.3684, allocations: 37.44 kB / 0.5894 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.3685, allocations: 24.58 kB / 0.5894 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.3685, allocations: 9.594 kB / 0.5894 GB, free: 26.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.3687, allocations: 226 kB / 0.5896 GB, free: 26.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3687, allocations: 0 / 0.5896 GB, free: 26.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000786/0.3695, allocations: 196.5 kB / 0.5898 GB, free: 26.17 MB / 446.1 MB 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.001914/0.3714, allocations: 1.405 MB / 0.5912 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.3729, allocations: 0.9579 MB / 0.5921 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3729, allocations: 0 / 0.5921 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006253/0.3735, allocations: 479.8 kB / 0.5926 GB, free: 24.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.3741, allocations: 70.77 kB / 0.5927 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006726/0.3808, allocations: 4.682 MB / 0.5972 GB, free: 21.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.3811, allocations: 0.8448 MB / 0.5981 GB, free: 20.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.3815, allocations: 132.9 kB / 0.5982 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.3817, allocations: 121.3 kB / 0.5983 GB, free: 20.8 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3817, allocations: 4.906 kB / 0.5983 GB, free: 20.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.4015, allocations: 10.05 MB / 0.6081 GB, free: 17.96 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/0.4017, allocations: 238.3 kB / 0.6083 GB, free: 17.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.186, allocations: 0 / 0.6083 GB, free: 17.71 MB / 446.1 MB (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)