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.000838/0.000838, allocations: 98.73 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008224/0.0008224, allocations: 180.2 kB / 16.92 MB, free: 6.898 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.274/1.274, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6647/0.6647, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003586, allocations: 13.69 kB / 496 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 77.53 MB / 0.5601 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005327/0.1408, allocations: 4.263 MB / 0.5642 GB, free: 4.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003355/0.1442, allocations: 2.186 MB / 0.5663 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.1445, allocations: 12 kB / 0.5664 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.1447, allocations: 71.42 kB / 0.5664 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006566/0.1454, allocations: 239 kB / 0.5667 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007951/0.1462, allocations: 322.6 kB / 0.567 GB, free: 1.816 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008871/0.1471, allocations: 0.8064 MB / 0.5677 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.1483, allocations: 0.6494 MB / 0.5684 GB, free: 352 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.1487, allocations: 179.3 kB / 0.5686 GB, free: 172 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005564/0.1492, allocations: 259.1 kB / 0.5688 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.999e-05/0.1493, allocations: 23.94 kB / 0.5688 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005126/0.1498, allocations: 291.4 kB / 0.5691 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.15, allocations: 159.6 kB / 0.5693 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.1503, allocations: 216.6 kB / 0.5695 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000684/0.151, allocations: 0.6268 MB / 0.5701 GB, free: 14.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.151, allocations: 4 kB / 0.5701 GB, free: 14.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.151, allocations: 0 / 0.5701 GB, free: 14.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.151, allocations: 0 / 0.5701 GB, free: 14.6 MB / 446.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.001079/0.1521, allocations: 0.6278 MB / 0.5707 GB, free: 13.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.1522, allocations: 11.97 kB / 0.5707 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.1523, allocations: 86.69 kB / 0.5708 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009704/0.1533, allocations: 140.3 kB / 0.5709 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.1537, allocations: 328.4 kB / 0.5712 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.1537, allocations: 25.38 kB / 0.5713 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.1538, allocations: 40.36 kB / 0.5713 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008424/0.1546, allocations: 0.6261 MB / 0.5719 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1546, allocations: 3.984 kB / 0.5719 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.1547, allocations: 16 kB / 0.5719 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.603e-05/0.1548, allocations: 40.64 kB / 0.572 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/0.1555, allocations: 482.1 kB / 0.5724 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.1587, allocations: 3.42 MB / 0.5758 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.1594, allocations: 373 kB / 0.5761 GB, free: 7.945 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.1597, allocations: 173.6 kB / 0.5763 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.1597, allocations: 7.938 kB / 0.5763 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.1597, allocations: 34.56 kB / 0.5763 GB, free: 7.719 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.1598, allocations: 0 / 0.5763 GB, free: 7.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.004693/0.1645, allocations: 1.47 MB / 0.5778 GB, free: 6.199 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.1645, allocations: 85.09 kB / 0.5778 GB, free: 6.098 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.1649, allocations: 324.4 kB / 0.5782 GB, free: 5.773 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.1649, allocations: 33.7 kB / 0.5782 GB, free: 5.734 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.1651, allocations: 259.3 kB / 0.5784 GB, free: 5.473 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.02e-05/0.1652, allocations: 90.75 kB / 0.5785 GB, free: 5.383 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.1653, allocations: 37.7 kB / 0.5786 GB, free: 5.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1654, allocations: 346.7 kB / 0.5789 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.1657, allocations: 177 kB / 0.5791 GB, free: 4.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.1661, allocations: 342 kB / 0.5794 GB, free: 4.418 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.1668, allocations: 0.5352 MB / 0.5799 GB, free: 3.809 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.1668, allocations: 4 kB / 0.5799 GB, free: 3.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002274/0.1691, allocations: 0.9081 MB / 0.5808 GB, free: 2.883 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.1693, allocations: 257.1 kB / 0.581 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.1693, allocations: 4 kB / 0.581 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/0.1716, allocations: 0.501 MB / 0.5815 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.1719, allocations: 99.81 kB / 0.5816 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2281/0.4, allocations: 3.772 MB / 0.5853 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.4005, allocations: 41.27 kB / 0.5853 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.4006, allocations: 27.05 kB / 0.5854 GB, free: 28.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.4006, allocations: 2.688 kB / 0.5854 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007527/0.4013, allocations: 480.9 kB / 0.5858 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4014, allocations: 7.719 kB / 0.5858 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.4014, allocations: 12 kB / 0.5859 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.4018, allocations: 108.5 kB / 0.586 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.4018, allocations: 13.95 kB / 0.586 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.402, allocations: 29.77 kB / 0.586 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.4021, allocations: 21.55 kB / 0.586 GB, free: 28.4 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.0002124/0.4023, allocations: 274.2 kB / 0.5863 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.4024, allocations: 32.25 kB / 0.5863 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.4041, allocations: 0.6716 MB / 0.587 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4041, allocations: 8.406 kB / 0.587 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4041, allocations: 0 / 0.587 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4042, allocations: 1.922 kB / 0.587 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008775/0.405, allocations: 0.6572 MB / 0.5876 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4051, allocations: 0.7188 kB / 0.5876 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.4052, allocations: 43.27 kB / 0.5877 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/0.4069, allocations: 408.1 kB / 0.5881 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.4069, allocations: 6.609 kB / 0.5881 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003433/0.4104, allocations: 3.483 MB / 0.5915 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4104, allocations: 1.781 kB / 0.5915 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.412, allocations: 0.8273 MB / 0.5923 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.4122, allocations: 148.2 kB / 0.5924 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.4122, allocations: 10.16 kB / 0.5924 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.4126, allocations: 36.5 kB / 0.5925 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.4127, allocations: 22.97 kB / 0.5925 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.4127, allocations: 9.359 kB / 0.5925 GB, free: 24.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.4129, allocations: 230.1 kB / 0.5927 GB, free: 24.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.413, allocations: 0 / 0.5927 GB, free: 24.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008895/0.4138, allocations: 197.8 kB / 0.5929 GB, free: 24.64 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.002078/0.4159, allocations: 1.409 MB / 0.5943 GB, free: 23.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.4175, allocations: 0.9567 MB / 0.5952 GB, free: 23.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4175, allocations: 1.031 kB / 0.5952 GB, free: 23.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006464/0.4182, allocations: 489.4 kB / 0.5957 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.4188, allocations: 69.03 kB / 0.5957 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007336/0.4261, allocations: 4.704 MB / 0.6003 GB, free: 20.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.4265, allocations: 0.845 MB / 0.6012 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004618/0.427, allocations: 133.8 kB / 0.6013 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.4271, allocations: 117.6 kB / 0.6014 GB, free: 19.27 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4271, allocations: 3.938 kB / 0.6014 GB, free: 19.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.4496, allocations: 9.894 MB / 0.6111 GB, free: 16.36 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.4499, allocations: 244.2 kB / 0.6113 GB, free: 16.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.286, allocations: 0 / 0.6113 GB, free: 16.11 MB / 446.1 MB (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)