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.001224/0.001224, allocations: 105.9 kB / 16.37 MB, free: 6.477 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.001324/0.001324, allocations: 189.8 kB / 17.31 MB, free: 5.824 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.729/1.729, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001427/0.001428, allocations: 71.88 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2335, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.3838/0.6173, allocations: 4.142 MB / 0.7888 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003009/0.6204, allocations: 2.209 MB / 0.791 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.6206, allocations: 7.969 kB / 0.791 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.622, allocations: 0.5479 MB / 0.7915 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005262/0.6225, allocations: 275 kB / 0.7918 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007685/0.6233, allocations: 341.6 kB / 0.7921 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.6238, allocations: 0.56 MB / 0.7927 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004629/0.6243, allocations: 365 kB / 0.793 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.6245, allocations: 230.8 kB / 0.7932 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.6249, allocations: 279.4 kB / 0.7935 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.625, allocations: 34.69 kB / 0.7935 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003904/0.6254, allocations: 260.6 kB / 0.7938 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.6255, allocations: 171.9 kB / 0.794 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.6257, allocations: 218 kB / 0.7942 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005279/0.6262, allocations: 0.64 MB / 0.7948 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.6262, allocations: 0 / 0.7948 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6262, allocations: 5.219 kB / 0.7948 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.6262, allocations: 5.25 kB / 0.7948 GB, free: 45.67 MB / 0.6544 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.0009732/0.6272, allocations: 0.7113 MB / 0.7955 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.6273, allocations: 7 kB / 0.7955 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009289/0.6282, allocations: 134.6 kB / 0.7956 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.6286, allocations: 339.4 kB / 0.796 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.6286, allocations: 29.55 kB / 0.796 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.6287, allocations: 34.75 kB / 0.796 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.6294, allocations: 0.6279 MB / 0.7966 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.6294, allocations: 1.594 kB / 0.7966 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.6294, allocations: 18.52 kB / 0.7966 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.036e-05/0.6295, allocations: 45.33 kB / 0.7967 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006095/0.6301, allocations: 476.2 kB / 0.7971 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.6328, allocations: 3.409 MB / 0.8005 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/0.6334, allocations: 372.6 kB / 0.8008 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.6336, allocations: 170 kB / 0.801 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.6336, allocations: 12.81 kB / 0.801 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.6337, allocations: 37.09 kB / 0.801 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.044e-06/0.6337, allocations: 3.562 kB / 0.801 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26): time 0.004538/0.6382, allocations: 1.457 MB / 0.8025 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.6383, allocations: 85.45 kB / 0.8025 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.6387, allocations: 327.8 kB / 0.8029 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.6387, allocations: 31.67 kB / 0.8029 GB, free: 41.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.6388, allocations: 258.8 kB / 0.8031 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.386e-05/0.6389, allocations: 91.91 kB / 0.8032 GB, free: 40.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.639, allocations: 97.3 kB / 0.8033 GB, free: 40.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.6391, allocations: 340.8 kB / 0.8036 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.6394, allocations: 189.7 kB / 0.8038 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.6398, allocations: 338.5 kB / 0.8041 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.6404, allocations: 0.5357 MB / 0.8047 GB, free: 39.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6404, allocations: 2.219 kB / 0.8047 GB, free: 39.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002402/0.6428, allocations: 0.9062 MB / 0.8056 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.6429, allocations: 7.781 kB / 0.8056 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.6429, allocations: 5.5 kB / 0.8056 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/0.6453, allocations: 0.506 MB / 0.8061 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.6457, allocations: 92.5 kB / 0.8062 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005286/0.651, allocations: 4.058 MB / 0.8101 GB, free: 36.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.6515, allocations: 43.42 kB / 0.8102 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/0.6515, allocations: 22.89 kB / 0.8102 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005011/0.6521, allocations: 298 kB / 0.8105 GB, free: 36.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003262/0.6524, allocations: 327.2 kB / 0.8108 GB, free: 35.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005588/0.653, allocations: 0.5054 MB / 0.8113 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.606e-06/0.653, allocations: 3.031 kB / 0.8113 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008004/0.6538, allocations: 0.5289 MB / 0.8118 GB, free: 35.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.6538, allocations: 7.906 kB / 0.8118 GB, free: 35.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6538, allocations: 7.484 kB / 0.8118 GB, free: 35.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.6538, allocations: 13.44 kB / 0.8118 GB, free: 35.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.6542, allocations: 109.2 kB / 0.8119 GB, free: 35.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.6543, allocations: 11.88 kB / 0.8119 GB, free: 35.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.6546, allocations: 32.86 kB / 0.812 GB, free: 35.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.6546, allocations: 28.2 kB / 0.812 GB, free: 35.16 MB / 0.6544 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.0001473/0.6548, allocations: 204.1 kB / 0.8122 GB, free: 34.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.544e-05/0.6549, allocations: 36.47 kB / 0.8122 GB, free: 34.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.6566, allocations: 0.6705 MB / 0.8129 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.6567, allocations: 8.281 kB / 0.8129 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.6567, allocations: 0 / 0.8129 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.6567, allocations: 3.703 kB / 0.8129 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.6578, allocations: 0.6579 MB / 0.8135 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.6578, allocations: 1.156 kB / 0.8135 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.658, allocations: 48.53 kB / 0.8136 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/0.6595, allocations: 401.9 kB / 0.814 GB, free: 34.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.6596, allocations: 7.969 kB / 0.814 GB, free: 34.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003483/0.6631, allocations: 3.758 MB / 0.8176 GB, free: 31.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6631, allocations: 0 / 0.8176 GB, free: 31.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.6647, allocations: 0.8263 MB / 0.8184 GB, free: 30.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.6649, allocations: 146.1 kB / 0.8186 GB, free: 30.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.6649, allocations: 7.641 kB / 0.8186 GB, free: 30.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.6653, allocations: 36.55 kB / 0.8186 GB, free: 30.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.6654, allocations: 22.55 kB / 0.8186 GB, free: 30.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.6654, allocations: 7.5 kB / 0.8187 GB, free: 30.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002315/0.6656, allocations: 229.1 kB / 0.8189 GB, free: 30.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6656, allocations: 4 kB / 0.8189 GB, free: 30.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009069/0.6666, allocations: 193.5 kB / 0.8191 GB, free: 30.42 MB / 0.6544 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.0001398/0.6667, allocations: 108.6 kB / 0.8192 GB, free: 30.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.6683, allocations: 0.9634 MB / 0.8201 GB, free: 29.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6683, allocations: 1.125 kB / 0.8201 GB, free: 29.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006864/0.669, allocations: 482.2 kB / 0.8206 GB, free: 29.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005917/0.6696, allocations: 84.17 kB / 0.8206 GB, free: 29.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.6709, allocations: 0.7932 MB / 0.8214 GB, free: 29.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.6712, allocations: 0.8465 MB / 0.8222 GB, free: 28.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.6713, allocations: 36.25 kB / 0.8223 GB, free: 28.35 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.6714, allocations: 0 / 0.8223 GB, free: 28.35 MB / 0.6544 GB Notification: Performance of Templates: time 0.01313/0.6845, allocations: 8.307 MB / 0.8304 GB, free: 27.86 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)