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.001256/0.001256, allocations: 105.1 kB / 16.4 MB, free: 5.973 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.001171/0.001171, allocations: 195.1 kB / 17.34 MB, free: 5.582 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8139/0.8139, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 68.19 kB / 0.5735 GB, free: 27.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1371, allocations: 78.86 MB / 0.6506 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005756/0.1429, allocations: 4.144 MB / 0.6546 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003675/0.1466, allocations: 2.358 MB / 0.6569 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.1468, allocations: 8 kB / 0.6569 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.1482, allocations: 0.5422 MB / 0.6574 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006155/0.1489, allocations: 294.6 kB / 0.6577 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008097/0.1497, allocations: 354 kB / 0.6581 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006315/0.1503, allocations: 0.5567 MB / 0.6586 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005421/0.1509, allocations: 372 kB / 0.659 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.1512, allocations: 239.2 kB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004361/0.1516, allocations: 271 kB / 0.6594 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.367e-05/0.1517, allocations: 36 kB / 0.6595 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.1522, allocations: 283.5 kB / 0.6597 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.1524, allocations: 171.6 kB / 0.6599 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.1526, allocations: 218.9 kB / 0.6601 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007756/0.1534, allocations: 0.6694 MB / 0.6608 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1534, allocations: 0 / 0.6608 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1534, allocations: 0 / 0.6608 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.1535, allocations: 4 kB / 0.6608 GB, free: 9.117 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.001175/0.1546, allocations: 0.7246 MB / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1547, allocations: 12.03 kB / 0.6615 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.1548, allocations: 82.7 kB / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.1559, allocations: 160.5 kB / 0.6617 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.1564, allocations: 340.5 kB / 0.6621 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.1564, allocations: 25.38 kB / 0.6621 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.1565, allocations: 36.38 kB / 0.6621 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009823/0.1575, allocations: 0.6456 MB / 0.6627 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.1575, allocations: 3.938 kB / 0.6627 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.1576, allocations: 12 kB / 0.6628 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.469e-05/0.1577, allocations: 44.62 kB / 0.6628 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008571/0.1585, allocations: 486.1 kB / 0.6633 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003578/0.1621, allocations: 3.436 MB / 0.6666 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.1628, allocations: 368.9 kB / 0.667 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.1631, allocations: 173.6 kB / 0.6671 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.1631, allocations: 3.984 kB / 0.6671 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1632, allocations: 42.5 kB / 0.6672 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.1632, allocations: 0 / 0.6672 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.004592/0.1678, allocations: 1.467 MB / 0.6686 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.1678, allocations: 77.11 kB / 0.6687 GB, free: 480 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.1682, allocations: 336.4 kB / 0.669 GB, free: 132 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.1683, allocations: 29.7 kB / 0.669 GB, free: 96 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.1685, allocations: 272.1 kB / 0.6693 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.816e-05/0.1686, allocations: 99.22 kB / 0.6694 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.1687, allocations: 94.12 kB / 0.6695 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1689, allocations: 338.8 kB / 0.6698 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.1692, allocations: 187 kB / 0.67 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.1697, allocations: 358 kB / 0.6703 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007715/0.1705, allocations: 0.5469 MB / 0.6709 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1705, allocations: 0 / 0.6709 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002393/0.1729, allocations: 0.9238 MB / 0.6718 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1729, allocations: 8 kB / 0.6718 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.1729, allocations: 7.938 kB / 0.6718 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/0.1752, allocations: 0.5053 MB / 0.6723 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.1756, allocations: 95.81 kB / 0.6724 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005678/0.1813, allocations: 4.053 MB / 0.6763 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.1817, allocations: 51.84 kB / 0.6764 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.1818, allocations: 23.98 kB / 0.6764 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004627/0.1822, allocations: 305.1 kB / 0.6767 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004215/0.1827, allocations: 335.8 kB / 0.677 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006748/0.1834, allocations: 0.5057 MB / 0.6775 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.1834, allocations: 0 / 0.6775 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008897/0.1843, allocations: 0.5405 MB / 0.678 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1843, allocations: 16.06 kB / 0.678 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1843, allocations: 7.938 kB / 0.678 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.1843, allocations: 11.94 kB / 0.6781 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.1847, allocations: 111.9 kB / 0.6782 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1848, allocations: 11.94 kB / 0.6782 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.1851, allocations: 43.86 kB / 0.6782 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.1852, allocations: 23.98 kB / 0.6782 GB, free: 6.031 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.0001622/0.1853, allocations: 208.1 kB / 0.6784 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.1854, allocations: 35.75 kB / 0.6785 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.1871, allocations: 0.6695 MB / 0.6791 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.1871, allocations: 7.984 kB / 0.6791 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1871, allocations: 0 / 0.6791 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1871, allocations: 8.078 kB / 0.6791 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008713/0.188, allocations: 0.656 MB / 0.6798 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.188, allocations: 3.984 kB / 0.6798 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.1882, allocations: 43.95 kB / 0.6798 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/0.1897, allocations: 401.2 kB / 0.6802 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.1898, allocations: 12 kB / 0.6802 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004304/0.1941, allocations: 3.75 MB / 0.6839 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.1941, allocations: 3.938 kB / 0.6839 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.1957, allocations: 0.8369 MB / 0.6847 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.1959, allocations: 152.8 kB / 0.6848 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.196, allocations: 4 kB / 0.6849 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.1964, allocations: 35.94 kB / 0.6849 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.1964, allocations: 27.91 kB / 0.6849 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.1965, allocations: 12 kB / 0.6849 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002973/0.1968, allocations: 231 kB / 0.6851 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1968, allocations: 3.938 kB / 0.6851 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008281/0.1976, allocations: 200 kB / 0.6853 GB, free: 14.34 MB / 0.5294 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.002178/0.1998, allocations: 1.406 MB / 0.6867 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.2016, allocations: 0.9799 MB / 0.6877 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2016, allocations: 4.25 kB / 0.6877 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007333/0.2023, allocations: 481.1 kB / 0.6881 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.2029, allocations: 75.67 kB / 0.6882 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00767/0.2106, allocations: 4.555 MB / 0.6927 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.2111, allocations: 0.8431 MB / 0.6935 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003823/0.2115, allocations: 155.1 kB / 0.6936 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.2116, allocations: 115.4 kB / 0.6937 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.2117, allocations: 0 / 0.6937 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4907/0.7024, allocations: 10.83 MB / 0.7043 GB, free: 10.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.36, allocations: 8.562 kB / 0.7043 GB, free: 10.7 MB / 0.545 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)