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.001062/0.001062, allocations: 109.2 kB / 16.41 MB, free: 6.461 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.001083/0.001083, allocations: 193.3 kB / 17.34 MB, free: 5.715 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7895/0.7895, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.12 kB / 0.5679 GB, free: 29.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1355, allocations: 77.94 MB / 0.6441 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005684/0.1412, allocations: 4.143 MB / 0.6481 GB, free: 5.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.1451, allocations: 2.346 MB / 0.6504 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.1453, allocations: 8 kB / 0.6504 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.1469, allocations: 0.5587 MB / 0.6509 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006723/0.1476, allocations: 290.7 kB / 0.6512 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000876/0.1484, allocations: 351.1 kB / 0.6516 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000637/0.1491, allocations: 0.5607 MB / 0.6521 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005526/0.1496, allocations: 368 kB / 0.6525 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.1499, allocations: 231.3 kB / 0.6527 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.1505, allocations: 283 kB / 0.6529 GB, free: 416 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.1505, allocations: 36 kB / 0.653 GB, free: 380 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005976/0.1511, allocations: 279.5 kB / 0.6532 GB, free: 100 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.1513, allocations: 175.6 kB / 0.6534 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.1516, allocations: 218.9 kB / 0.6536 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007988/0.1524, allocations: 0.6655 MB / 0.6543 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1524, allocations: 0 / 0.6543 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1524, allocations: 4 kB / 0.6543 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.1524, allocations: 0 / 0.6543 GB, free: 15.04 MB / 0.4981 GB 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.001179/0.1536, allocations: 0.7303 MB / 0.655 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1536, allocations: 8.625 kB / 0.655 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.704e-05/0.1537, allocations: 78.72 kB / 0.6551 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.155, allocations: 168.4 kB / 0.6552 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.1555, allocations: 340.5 kB / 0.6556 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.1555, allocations: 25.36 kB / 0.6556 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.251e-05/0.1556, allocations: 40.33 kB / 0.6556 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.1567, allocations: 0.6378 MB / 0.6562 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.1567, allocations: 4 kB / 0.6562 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.1568, allocations: 23.92 kB / 0.6563 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.464e-05/0.1569, allocations: 40.62 kB / 0.6563 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008172/0.1577, allocations: 494.1 kB / 0.6568 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.1616, allocations: 3.413 MB / 0.6601 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007076/0.1623, allocations: 385.6 kB / 0.6605 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.1625, allocations: 173.6 kB / 0.6606 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.1626, allocations: 7.984 kB / 0.6607 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1626, allocations: 42.5 kB / 0.6607 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.864e-06/0.1626, allocations: 0 / 0.6607 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.004719/0.1674, allocations: 1.466 MB / 0.6621 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.1674, allocations: 81.11 kB / 0.6622 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.1678, allocations: 332.4 kB / 0.6625 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.1679, allocations: 33.7 kB / 0.6626 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.1681, allocations: 264.1 kB / 0.6628 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.1682, allocations: 99.19 kB / 0.6629 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.1684, allocations: 98.16 kB / 0.663 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1685, allocations: 342.8 kB / 0.6633 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.1689, allocations: 187 kB / 0.6635 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005153/0.1694, allocations: 354 kB / 0.6638 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/0.1702, allocations: 0.5392 MB / 0.6644 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1702, allocations: 4 kB / 0.6644 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002417/0.1726, allocations: 0.9161 MB / 0.6653 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.1726, allocations: 8.438 kB / 0.6653 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1726, allocations: 15.94 kB / 0.6653 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002305/0.1749, allocations: 0.497 MB / 0.6658 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/0.1754, allocations: 95.86 kB / 0.6659 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005913/0.1813, allocations: 4.058 MB / 0.6698 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/0.1819, allocations: 51.78 kB / 0.6699 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.1819, allocations: 24 kB / 0.6699 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004667/0.1824, allocations: 305.1 kB / 0.6702 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004269/0.1828, allocations: 336.7 kB / 0.6705 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006628/0.1835, allocations: 0.5056 MB / 0.671 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.1835, allocations: 0 / 0.671 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001127/0.1846, allocations: 0.5482 MB / 0.6715 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1847, allocations: 8 kB / 0.6715 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1847, allocations: 8 kB / 0.6716 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1847, allocations: 15.88 kB / 0.6716 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.1851, allocations: 115.8 kB / 0.6717 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1851, allocations: 8 kB / 0.6717 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.1855, allocations: 39.86 kB / 0.6717 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.1856, allocations: 20 kB / 0.6717 GB, free: 11.95 MB / 0.5137 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.0001509/0.1857, allocations: 212.8 kB / 0.6719 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.345e-05/0.1858, allocations: 39.7 kB / 0.672 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.1875, allocations: 0.6768 MB / 0.6726 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1876, allocations: 8 kB / 0.6727 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1876, allocations: 0 / 0.6727 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1876, allocations: 3.984 kB / 0.6727 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009449/0.1885, allocations: 0.6521 MB / 0.6733 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1886, allocations: 4 kB / 0.6733 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.1888, allocations: 47.89 kB / 0.6733 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.1903, allocations: 401.3 kB / 0.6737 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.1904, allocations: 8 kB / 0.6737 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004276/0.1946, allocations: 3.758 MB / 0.6774 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1947, allocations: 0 / 0.6774 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.1964, allocations: 0.8338 MB / 0.6782 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.1967, allocations: 144.8 kB / 0.6784 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.1968, allocations: 4 kB / 0.6784 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004052/0.1972, allocations: 39.94 kB / 0.6784 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.1972, allocations: 31.84 kB / 0.6784 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.1973, allocations: 8 kB / 0.6784 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003052/0.1976, allocations: 239 kB / 0.6787 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1976, allocations: 0 / 0.6787 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009048/0.1985, allocations: 196 kB / 0.6788 GB, free: 4.254 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.00222/0.2007, allocations: 1.394 MB / 0.6802 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.2026, allocations: 0.9961 MB / 0.6812 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2026, allocations: 0 / 0.6812 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007491/0.2033, allocations: 481.6 kB / 0.6816 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.204, allocations: 81.44 kB / 0.6817 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008063/0.212, allocations: 4.552 MB / 0.6862 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.2126, allocations: 0.847 MB / 0.687 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004359/0.213, allocations: 143.1 kB / 0.6871 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.2132, allocations: 119.4 kB / 0.6872 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.2132, allocations: 3.938 kB / 0.6872 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03798/0.2512, allocations: 10.82 MB / 0.6978 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.04, allocations: 4 kB / 0.6978 GB, free: 0.6211 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe_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_Probe.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)