Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.001605/0.001605, allocations: 98.14 kB / 16.4 MB, free: 6.496 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.001863/0.001863, allocations: 195.8 kB / 17.34 MB, free: 5.77 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7202/0.7202, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.73 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1349, allocations: 76.17 MB / 0.6316 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006886/0.1418, allocations: 4.628 MB / 0.6361 GB, free: 312 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003998/0.1458, allocations: 2.365 MB / 0.6384 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002922/0.1461, allocations: 4 kB / 0.6384 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.1478, allocations: 0.5525 MB / 0.6389 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007453/0.1485, allocations: 286.7 kB / 0.6392 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009107/0.1494, allocations: 346 kB / 0.6395 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007833/0.1502, allocations: 0.5568 MB / 0.6401 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005763/0.1508, allocations: 374.5 kB / 0.6404 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.1512, allocations: 235.2 kB / 0.6407 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005244/0.1517, allocations: 279 kB / 0.6409 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.143e-05/0.1518, allocations: 36 kB / 0.641 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005851/0.1524, allocations: 283.5 kB / 0.6412 GB, free: 11.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.1526, allocations: 175.6 kB / 0.6414 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.1529, allocations: 214.9 kB / 0.6416 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008683/0.1538, allocations: 0.6628 MB / 0.6423 GB, free: 9.961 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1538, allocations: 7.938 kB / 0.6423 GB, free: 9.953 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1538, allocations: 0 / 0.6423 GB, free: 9.953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.056e-05/0.1538, allocations: 0 / 0.6423 GB, free: 9.953 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.001413/0.1552, allocations: 0.7214 MB / 0.643 GB, free: 9.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1553, allocations: 8.031 kB / 0.643 GB, free: 9.172 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.1554, allocations: 78.72 kB / 0.6431 GB, free: 9.086 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.1567, allocations: 168.2 kB / 0.6432 GB, free: 8.922 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.1572, allocations: 336.4 kB / 0.6435 GB, free: 8.551 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1572, allocations: 21.38 kB / 0.6436 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/0.1573, allocations: 40.36 kB / 0.6436 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.1584, allocations: 0.6417 MB / 0.6442 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.1584, allocations: 4 kB / 0.6442 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/0.1585, allocations: 15.98 kB / 0.6442 GB, free: 7.773 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.253e-05/0.1586, allocations: 40.62 kB / 0.6443 GB, free: 7.734 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000821/0.1594, allocations: 498.1 kB / 0.6448 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00387/0.1633, allocations: 3.413 MB / 0.6481 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/0.1641, allocations: 380.8 kB / 0.6485 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.1643, allocations: 166.2 kB / 0.6486 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.1643, allocations: 7.984 kB / 0.6486 GB, free: 2.984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.1644, allocations: 46.48 kB / 0.6487 GB, free: 2.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.1644, allocations: 0 / 0.6487 GB, free: 2.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=26): time 0.004625/0.169, allocations: 1.449 MB / 0.6501 GB, free: 1.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.1691, allocations: 81.11 kB / 0.6502 GB, free: 1.332 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.1695, allocations: 340.3 kB / 0.6505 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.1695, allocations: 33.69 kB / 0.6505 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1697, allocations: 255.4 kB / 0.6508 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.681e-05/0.1698, allocations: 98.64 kB / 0.6509 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.1699, allocations: 90.16 kB / 0.6509 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1701, allocations: 346.8 kB / 0.6513 GB, free: 160 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.1704, allocations: 187 kB / 0.6514 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.1709, allocations: 354 kB / 0.6518 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007237/0.1716, allocations: 0.5391 MB / 0.6523 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.1716, allocations: 4 kB / 0.6523 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002742/0.1744, allocations: 0.9163 MB / 0.6532 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.1744, allocations: 12.06 kB / 0.6532 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.1744, allocations: 11.94 kB / 0.6532 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002333/0.1768, allocations: 0.497 MB / 0.6537 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.1772, allocations: 99.86 kB / 0.6538 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00616/0.1834, allocations: 4.051 MB / 0.6578 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.1839, allocations: 43.8 kB / 0.6578 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.1839, allocations: 27.94 kB / 0.6578 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004741/0.1844, allocations: 313.2 kB / 0.6581 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004237/0.1848, allocations: 327.8 kB / 0.6584 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000705/0.1856, allocations: 0.514 MB / 0.659 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.1856, allocations: 0 / 0.659 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009313/0.1865, allocations: 0.5402 MB / 0.6595 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.1866, allocations: 4 kB / 0.6595 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1866, allocations: 8 kB / 0.6595 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1866, allocations: 11.94 kB / 0.6595 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/0.187, allocations: 115.8 kB / 0.6596 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.1871, allocations: 8 kB / 0.6596 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/0.1875, allocations: 40.06 kB / 0.6597 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.1875, allocations: 32 kB / 0.6597 GB, free: 6.91 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.0002064/0.1877, allocations: 218 kB / 0.6599 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.1878, allocations: 35.7 kB / 0.6599 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.1896, allocations: 0.6734 MB / 0.6606 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1896, allocations: 4 kB / 0.6606 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1896, allocations: 0 / 0.6606 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1896, allocations: 3.984 kB / 0.6606 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.1907, allocations: 0.6559 MB / 0.6612 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1908, allocations: 0 / 0.6612 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.191, allocations: 47.89 kB / 0.6613 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.1925, allocations: 401.3 kB / 0.6617 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.1925, allocations: 8 kB / 0.6617 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004438/0.197, allocations: 3.766 MB / 0.6653 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.197, allocations: 0 / 0.6653 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.1987, allocations: 0.83 MB / 0.6662 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.199, allocations: 144.6 kB / 0.6663 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.199, allocations: 4 kB / 0.6663 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.1994, allocations: 39.94 kB / 0.6663 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.1995, allocations: 23.91 kB / 0.6664 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1995, allocations: 8 kB / 0.6664 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003148/0.1998, allocations: 239 kB / 0.6666 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.1e-07/0.1998, allocations: 0 / 0.6666 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000924/0.2008, allocations: 196 kB / 0.6668 GB, free: 15.22 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.002286/0.2031, allocations: 1.398 MB / 0.6681 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.205, allocations: 0.9831 MB / 0.6691 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.205, allocations: 0 / 0.6691 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007446/0.2058, allocations: 481.9 kB / 0.6696 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006117/0.2064, allocations: 75.03 kB / 0.6696 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008513/0.2149, allocations: 4.541 MB / 0.6741 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.2156, allocations: 0.8506 MB / 0.6749 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004647/0.216, allocations: 147.2 kB / 0.675 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.2163, allocations: 115.4 kB / 0.6752 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.2163, allocations: 0 / 0.6752 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0426/0.2589, allocations: 11.04 MB / 0.6859 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.46, allocations: 10.2 kB / 0.6859 GB, free: 11.43 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)