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.001351/0.001351, allocations: 105.8 kB / 15.98 MB, free: 6.359 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.001647/0.001647, allocations: 195.8 kB / 16.91 MB, free: 6.191 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.54/1.54, allocations: 205.1 MB / 222.8 MB, free: 4.672 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.689/1.689, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001333/0.001333, allocations: 70.34 kB / 0.6717 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2394, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.00574/0.2452, allocations: 4.179 MB / 0.7876 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003571/0.2488, allocations: 2.202 MB / 0.7897 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.2491, allocations: 8 kB / 0.7898 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.2506, allocations: 0.51 MB / 0.7903 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007174/0.2513, allocations: 247 kB / 0.7905 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.2525, allocations: 319.4 kB / 0.7908 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009165/0.2534, allocations: 0.5607 MB / 0.7913 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008032/0.2542, allocations: 420 kB / 0.7917 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.2546, allocations: 235.1 kB / 0.792 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/0.2551, allocations: 298.9 kB / 0.7923 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.857e-05/0.2551, allocations: 39.98 kB / 0.7923 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005205/0.2557, allocations: 243.6 kB / 0.7925 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.2558, allocations: 183.5 kB / 0.7927 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.2561, allocations: 215 kB / 0.7929 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.2567, allocations: 0.5105 MB / 0.7934 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2567, allocations: 0 / 0.7934 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2567, allocations: 0 / 0.7934 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.2567, allocations: 0 / 0.7934 GB, free: 3.742 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.001283/0.258, allocations: 0.698 MB / 0.7941 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.258, allocations: 12.03 kB / 0.7941 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009641/0.259, allocations: 148.2 kB / 0.7942 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.2594, allocations: 316.5 kB / 0.7945 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.2595, allocations: 33.36 kB / 0.7946 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.2595, allocations: 32.38 kB / 0.7946 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009015/0.2604, allocations: 0.6341 MB / 0.7952 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2605, allocations: 0 / 0.7952 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.2605, allocations: 15.98 kB / 0.7952 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.692e-05/0.2606, allocations: 44.62 kB / 0.7953 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000696/0.2613, allocations: 482.1 kB / 0.7957 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/0.2649, allocations: 3.413 MB / 0.7991 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007097/0.2656, allocations: 371.8 kB / 0.7994 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.2658, allocations: 169.6 kB / 0.7996 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.2659, allocations: 12.31 kB / 0.7996 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.2659, allocations: 38.56 kB / 0.7996 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.906e-06/0.2659, allocations: 3.984 kB / 0.7996 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004663/0.2706, allocations: 1.455 MB / 0.8011 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.2707, allocations: 81.11 kB / 0.8011 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.2711, allocations: 324.4 kB / 0.8014 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.2711, allocations: 33.7 kB / 0.8015 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.2713, allocations: 263.2 kB / 0.8017 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.104e-05/0.2714, allocations: 90.73 kB / 0.8018 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.2716, allocations: 102 kB / 0.8019 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2717, allocations: 338.8 kB / 0.8022 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.272, allocations: 183 kB / 0.8024 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.2724, allocations: 350 kB / 0.8027 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006493/0.273, allocations: 0.5314 MB / 0.8033 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.273, allocations: 0 / 0.8033 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002313/0.2754, allocations: 0.9094 MB / 0.8042 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.2754, allocations: 4 kB / 0.8042 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.2754, allocations: 8 kB / 0.8042 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002332/0.2778, allocations: 0.5091 MB / 0.8047 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.2782, allocations: 91.83 kB / 0.8047 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005741/0.2839, allocations: 4.061 MB / 0.8087 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.2844, allocations: 43.8 kB / 0.8088 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.2844, allocations: 16 kB / 0.8088 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003957/0.2848, allocations: 305.8 kB / 0.8091 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003519/0.2852, allocations: 323.8 kB / 0.8094 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005948/0.2858, allocations: 0.5066 MB / 0.8099 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.2858, allocations: 4 kB / 0.8099 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008068/0.2866, allocations: 0.5363 MB / 0.8104 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2866, allocations: 8 kB / 0.8104 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2866, allocations: 4 kB / 0.8104 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2867, allocations: 15.94 kB / 0.8104 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.2871, allocations: 111.8 kB / 0.8105 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2871, allocations: 8 kB / 0.8105 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.2874, allocations: 35.81 kB / 0.8106 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.2875, allocations: 20 kB / 0.8106 GB, free: 0.9531 MB / 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.0002448/0.2877, allocations: 212.2 kB / 0.8108 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.2878, allocations: 31.62 kB / 0.8108 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.2896, allocations: 0.6766 MB / 0.8115 GB, free: 20 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2896, allocations: 4.141 kB / 0.8115 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2896, allocations: 7.984 kB / 0.8115 GB, free: 8 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.2896, allocations: 0 / 0.8115 GB, free: 8 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.2906, allocations: 0.6636 MB / 0.8121 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2906, allocations: 0 / 0.8121 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.2908, allocations: 47.89 kB / 0.8122 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.2924, allocations: 405.3 kB / 0.8126 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.2924, allocations: 4 kB / 0.8126 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00418/0.2966, allocations: 3.757 MB / 0.8162 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2966, allocations: 0 / 0.8162 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.2983, allocations: 0.822 MB / 0.817 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.2986, allocations: 144.6 kB / 0.8172 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.2986, allocations: 8 kB / 0.8172 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003543/0.299, allocations: 39.94 kB / 0.8172 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.2991, allocations: 23.84 kB / 0.8173 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.2991, allocations: 12 kB / 0.8173 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002699/0.2994, allocations: 231 kB / 0.8175 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2994, allocations: 4 kB / 0.8175 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008879/0.3003, allocations: 188 kB / 0.8177 GB, free: 9.281 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.0001904/0.3005, allocations: 115.1 kB / 0.8178 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.3022, allocations: 0.9921 MB / 0.8187 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.726e-06/0.3022, allocations: 3.938 kB / 0.8188 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007254/0.3029, allocations: 481.2 kB / 0.8192 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/0.3035, allocations: 80.52 kB / 0.8193 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.3049, allocations: 0.9508 MB / 0.8202 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.3054, allocations: 0.8431 MB / 0.821 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.986e-05/0.3055, allocations: 39.36 kB / 0.8211 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of SimCode: time 5.81e-07/0.3055, allocations: 0 / 0.8211 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of Templates: time 0.01103/0.3166, allocations: 8.315 MB / 0.8292 GB, free: 13.36 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)