Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 108 kB / 15.61 MB, free: 152 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.001719/0.001719, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.851/1.851, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002188, allocations: 72.5 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3872, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.007308/0.3946, allocations: 4.148 MB / 0.7874 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004598/0.3992, allocations: 2.21 MB / 0.7896 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.3996, allocations: 11.94 kB / 0.7896 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.4012, allocations: 0.5331 MB / 0.7901 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007229/0.4019, allocations: 266.7 kB / 0.7904 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.403, allocations: 357.8 kB / 0.7907 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000639/0.4037, allocations: 0.549 MB / 0.7912 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000661/0.4043, allocations: 380 kB / 0.7916 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.4047, allocations: 235.1 kB / 0.7918 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005585/0.4053, allocations: 271.1 kB / 0.7921 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.487e-05/0.4054, allocations: 36 kB / 0.7921 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.406, allocations: 259.5 kB / 0.7924 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.4062, allocations: 179.6 kB / 0.7925 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.4064, allocations: 214.9 kB / 0.7927 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008365/0.4072, allocations: 0.6347 MB / 0.7934 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4073, allocations: 0 / 0.7934 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4073, allocations: 0 / 0.7934 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.4073, allocations: 7.938 kB / 0.7934 GB, free: 3.195 MB / 0.6075 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.001307/0.4086, allocations: 0.7097 MB / 0.7941 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4087, allocations: 8.031 kB / 0.7941 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.4097, allocations: 136.2 kB / 0.7942 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.4102, allocations: 324.5 kB / 0.7945 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.4102, allocations: 33.38 kB / 0.7945 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.4103, allocations: 32.38 kB / 0.7946 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009693/0.4113, allocations: 0.6302 MB / 0.7952 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.4113, allocations: 4 kB / 0.7952 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/0.4113, allocations: 12 kB / 0.7952 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.42e-05/0.4114, allocations: 44.62 kB / 0.7952 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007664/0.4122, allocations: 478 kB / 0.7957 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00383/0.416, allocations: 3.42 MB / 0.799 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/0.4168, allocations: 376 kB / 0.7994 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.417, allocations: 173.6 kB / 0.7996 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.4171, allocations: 4.406 kB / 0.7996 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.4171, allocations: 42.5 kB / 0.7996 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.475e-06/0.4171, allocations: 0 / 0.7996 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004756/0.4219, allocations: 1.455 MB / 0.801 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.422, allocations: 81.11 kB / 0.8011 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.4224, allocations: 328.4 kB / 0.8014 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.4225, allocations: 25.7 kB / 0.8014 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.4226, allocations: 267.2 kB / 0.8017 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.4228, allocations: 90.75 kB / 0.8018 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.4229, allocations: 102 kB / 0.8019 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.4231, allocations: 334.8 kB / 0.8022 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.4234, allocations: 187 kB / 0.8024 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004229/0.4238, allocations: 346 kB / 0.8027 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007274/0.4246, allocations: 0.528 MB / 0.8032 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4246, allocations: 0 / 0.8032 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002434/0.427, allocations: 0.9094 MB / 0.8041 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.4271, allocations: 8.938 kB / 0.8041 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.4271, allocations: 7.984 kB / 0.8041 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/0.4294, allocations: 0.5089 MB / 0.8046 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/0.4298, allocations: 95.88 kB / 0.8047 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006212/0.4361, allocations: 4.046 MB / 0.8087 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.4366, allocations: 47.8 kB / 0.8087 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.4366, allocations: 20.06 kB / 0.8087 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000495/0.4371, allocations: 301.8 kB / 0.809 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003547/0.4375, allocations: 327.8 kB / 0.8093 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000689/0.4382, allocations: 0.5056 MB / 0.8098 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.865e-06/0.4382, allocations: 0 / 0.8098 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009405/0.4392, allocations: 0.5325 MB / 0.8104 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.4392, allocations: 10.5 kB / 0.8104 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4392, allocations: 8.062 kB / 0.8104 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.4392, allocations: 11.94 kB / 0.8104 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.4397, allocations: 111.8 kB / 0.8105 GB, free: 488 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.4397, allocations: 11.98 kB / 0.8105 GB, free: 476 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.44, allocations: 39.75 kB / 0.8105 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.44, allocations: 24 kB / 0.8106 GB, free: 412 kB / 0.6231 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.0001911/0.4402, allocations: 210.5 kB / 0.8108 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.4403, allocations: 31.62 kB / 0.8108 GB, free: 164 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.4421, allocations: 0.6766 MB / 0.8115 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4421, allocations: 4 kB / 0.8115 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4421, allocations: 4 kB / 0.8115 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4421, allocations: 0 / 0.8115 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.4432, allocations: 0.6636 MB / 0.8121 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-06/0.4433, allocations: 4 kB / 0.8121 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.4435, allocations: 47.89 kB / 0.8122 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.445, allocations: 409.3 kB / 0.8125 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.4451, allocations: 4 kB / 0.8125 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005043/0.4501, allocations: 3.753 MB / 0.8162 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4502, allocations: 4.031 kB / 0.8162 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.4519, allocations: 0.8183 MB / 0.817 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.4522, allocations: 152.5 kB / 0.8172 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.4522, allocations: 8 kB / 0.8172 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.4526, allocations: 39.94 kB / 0.8172 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.4527, allocations: 23.91 kB / 0.8172 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.4527, allocations: 12 kB / 0.8172 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002979/0.453, allocations: 227 kB / 0.8175 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.453, allocations: 4 kB / 0.8175 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001048/0.4541, allocations: 192 kB / 0.8176 GB, free: 8.727 MB / 0.6387 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.0002858/0.4544, allocations: 111.2 kB / 0.8178 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002023/0.4564, allocations: 0.9913 MB / 0.8187 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.4564, allocations: 4 kB / 0.8187 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008787/0.4573, allocations: 485.6 kB / 0.8192 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006575/0.458, allocations: 75.67 kB / 0.8193 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.4595, allocations: 0.7422 MB / 0.82 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.4601, allocations: 0.8509 MB / 0.8208 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003928/0.4605, allocations: 139.1 kB / 0.8209 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.4606, allocations: 31.42 kB / 0.821 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.4606, allocations: 0 / 0.821 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of Templates: time 0.01389/0.4744, allocations: 7.218 MB / 0.828 GB, free: 14.01 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)