Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.729/1.729, allocations: 285.4 MB / 298 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.00117, allocations: 176.8 kB / 366.4 MB, free: 2.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.1 MB / 0.6248 GB, free: 7.738 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000786/0.0007861, allocations: 92.42 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.435e-05, allocations: 8 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6715/0.6716, allocations: 115.3 MB / 0.971 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2213/0.8929, allocations: 169.3 MB / 1.136 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.8933, allocations: 91.94 kB / 1.136 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05916/0.9524, allocations: 23.4 MB / 1.159 GB, free: 6.926 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9525, allocations: 4 kB / 1.159 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.02e-05/0.9525, allocations: 12 kB / 1.159 GB, free: 6.91 MB / 0.7605 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.001085/0.9536, allocations: 0.639 MB / 1.16 GB, free: 6.227 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.9537, allocations: 16.03 kB / 1.16 GB, free: 6.211 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.939e-05/0.9538, allocations: 78.53 kB / 1.16 GB, free: 6.125 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.9549, allocations: 135.4 kB / 1.16 GB, free: 5.992 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.9554, allocations: 331.1 kB / 1.16 GB, free: 5.625 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.9554, allocations: 32.77 kB / 1.16 GB, free: 5.594 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.946e-05/0.9555, allocations: 32 kB / 1.16 GB, free: 5.562 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000927/0.9565, allocations: 0.6053 MB / 1.161 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.9565, allocations: 6.375 kB / 1.161 GB, free: 4.898 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.9566, allocations: 19.98 kB / 1.161 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.734e-05/0.9566, allocations: 28.77 kB / 1.161 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007324/0.9573, allocations: 466.7 kB / 1.162 GB, free: 4.391 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.9609, allocations: 3.441 MB / 1.165 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006872/0.9616, allocations: 361 kB / 1.165 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.9619, allocations: 165.7 kB / 1.165 GB, free: 128 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.9619, allocations: 11.92 kB / 1.165 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.962, allocations: 42.56 kB / 1.165 GB, free: 64 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 2.415e-06/0.962, allocations: 2.25 kB / 1.165 GB, free: 64 kB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.002003/0.964, allocations: 0.7429 MB / 1.166 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.964, allocations: 81.11 kB / 1.166 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.9644, allocations: 286.6 kB / 1.167 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.9644, allocations: 37.7 kB / 1.167 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.9646, allocations: 255.3 kB / 1.167 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.9647, allocations: 98.66 kB / 1.167 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.9647, allocations: 7.938 kB / 1.167 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.9649, allocations: 346.8 kB / 1.167 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.9652, allocations: 169.1 kB / 1.167 GB, free: 14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.9656, allocations: 330.1 kB / 1.168 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.966, allocations: 231.8 kB / 1.168 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.966, allocations: 4 kB / 1.168 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001911/0.9679, allocations: 0.8341 MB / 1.169 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008659/0.9688, allocations: 2.094 MB / 1.171 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.9688, allocations: 8 kB / 1.171 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/0.9705, allocations: 417.1 kB / 1.171 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.9709, allocations: 95.81 kB / 1.171 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.972, allocations: 1.249 MB / 1.173 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.9724, allocations: 39.86 kB / 1.173 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.9724, allocations: 27.97 kB / 1.173 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.9724, allocations: 7.953 kB / 1.173 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007016/0.9731, allocations: 475.3 kB / 1.173 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.9732, allocations: 4.719 kB / 1.173 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.9732, allocations: 15.56 kB / 1.173 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.9736, allocations: 113.7 kB / 1.173 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.9736, allocations: 8 kB / 1.173 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.9739, allocations: 35.83 kB / 1.173 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.9739, allocations: 23.98 kB / 1.173 GB, free: 7.727 MB / 0.7761 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.974, allocations: 132.8 kB / 1.173 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-05/0.9741, allocations: 35.58 kB / 1.173 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.9759, allocations: 0.6616 MB / 1.174 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.9759, allocations: 7.953 kB / 1.174 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9759, allocations: 0 / 1.174 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.9759, allocations: 4 kB / 1.174 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009475/0.9769, allocations: 0.652 MB / 1.175 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.9769, allocations: 0 / 1.175 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.9771, allocations: 58.72 kB / 1.175 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/0.9787, allocations: 401.3 kB / 1.175 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.9787, allocations: 8 kB / 1.175 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004018/0.9827, allocations: 3.467 MB / 1.179 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.9828, allocations: 4.031 kB / 1.179 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.9845, allocations: 0.8536 MB / 1.179 GB, free: 1.047 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.9847, allocations: 147.8 kB / 1.18 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.9848, allocations: 8 kB / 1.18 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.9852, allocations: 35.94 kB / 1.18 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.9853, allocations: 27.86 kB / 1.18 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.9853, allocations: 12 kB / 1.18 GB, free: 0.8047 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002656/0.9856, allocations: 230.2 kB / 1.18 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9856, allocations: 0 / 1.18 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008444/0.9864, allocations: 192.1 kB / 1.18 GB, free: 408 kB / 0.7761 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002342/0.9888, allocations: 1.646 MB / 1.182 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.9904, allocations: 0.7212 MB / 1.182 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9904, allocations: 0 / 1.182 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0008194/0.9912, allocations: 473.5 kB / 1.183 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.9918, allocations: 64.2 kB / 1.183 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.9935, allocations: 0.6517 MB / 1.183 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/0.9941, allocations: 0.851 MB / 1.184 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005145/0.9946, allocations: 151.2 kB / 1.184 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.9948, allocations: 115.3 kB / 1.185 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of SimCode: time 1.764e-06/0.9949, allocations: 0 / 1.185 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/1.017, allocations: 9.233 MB / 1.194 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/1.018, allocations: 195.2 kB / 1.194 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/3.341, allocations: 4 kB / 1.194 GB, free: 2.457 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)