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.001784/0.001784, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001965/0.001965, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.679/1.679, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.934/1.934, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001402/0.001402, allocations: 66.25 kB / 0.671 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3464, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006603/0.3531, allocations: 4.183 MB / 0.7869 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003711/0.3568, allocations: 2.198 MB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.3571, allocations: 7.938 kB / 0.7891 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.3587, allocations: 0.5089 MB / 0.7896 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.3594, allocations: 255 kB / 0.7898 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009715/0.3604, allocations: 311.4 kB / 0.7901 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006598/0.3611, allocations: 0.5646 MB / 0.7907 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006205/0.3617, allocations: 428 kB / 0.7911 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.362, allocations: 235.1 kB / 0.7913 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004199/0.3624, allocations: 291 kB / 0.7916 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.3625, allocations: 32 kB / 0.7916 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.363, allocations: 251.6 kB / 0.7919 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.3632, allocations: 179.5 kB / 0.792 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.3634, allocations: 218.9 kB / 0.7922 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006891/0.3641, allocations: 0.6541 MB / 0.7929 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3641, allocations: 3.938 kB / 0.7929 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3641, allocations: 4 kB / 0.7929 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.3641, allocations: 0 / 0.7929 GB, free: 3.578 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.00126/0.3654, allocations: 0.7059 MB / 0.7936 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3654, allocations: 12.03 kB / 0.7936 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009746/0.3664, allocations: 136.2 kB / 0.7937 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.3669, allocations: 320.5 kB / 0.794 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.3669, allocations: 33.36 kB / 0.7941 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.134e-05/0.367, allocations: 32.38 kB / 0.7941 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000891/0.3679, allocations: 0.6302 MB / 0.7947 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.3679, allocations: 0 / 0.7947 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.368, allocations: 15.98 kB / 0.7947 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.485e-05/0.3681, allocations: 44.62 kB / 0.7948 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.3687, allocations: 482.1 kB / 0.7952 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003494/0.3722, allocations: 3.409 MB / 0.7986 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.373, allocations: 375.8 kB / 0.7989 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.3732, allocations: 181.6 kB / 0.7991 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.3733, allocations: 4.391 kB / 0.7991 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3733, allocations: 42.55 kB / 0.7991 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.484e-06/0.3733, allocations: 0 / 0.7991 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004653/0.378, allocations: 1.455 MB / 0.8005 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.378, allocations: 81.11 kB / 0.8006 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.3784, allocations: 328.4 kB / 0.8009 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.3785, allocations: 25.7 kB / 0.801 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.3786, allocations: 267.2 kB / 0.8012 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.431e-05/0.3787, allocations: 90.73 kB / 0.8013 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.3789, allocations: 102 kB / 0.8014 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.379, allocations: 338.8 kB / 0.8017 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.3793, allocations: 186.9 kB / 0.8019 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.3798, allocations: 342.1 kB / 0.8022 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/0.3804, allocations: 0.5314 MB / 0.8027 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3804, allocations: 4 kB / 0.8028 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002293/0.3827, allocations: 0.9056 MB / 0.8036 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.3828, allocations: 8 kB / 0.8036 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.3828, allocations: 8 kB / 0.8037 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/0.3852, allocations: 0.5051 MB / 0.8041 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.3856, allocations: 91.88 kB / 0.8042 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006184/0.3918, allocations: 4.049 MB / 0.8082 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.3924, allocations: 47.86 kB / 0.8082 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.3924, allocations: 16 kB / 0.8082 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004905/0.3929, allocations: 309.7 kB / 0.8085 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004146/0.3934, allocations: 319.9 kB / 0.8088 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006783/0.394, allocations: 0.5067 MB / 0.8093 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-06/0.3941, allocations: 0 / 0.8093 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008851/0.395, allocations: 0.5364 MB / 0.8099 GB, free: 1 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.395, allocations: 12.03 kB / 0.8099 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.395, allocations: 4 kB / 0.8099 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.395, allocations: 15.94 kB / 0.8099 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.3955, allocations: 111.8 kB / 0.81 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3955, allocations: 8 kB / 0.81 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.3958, allocations: 35.83 kB / 0.81 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.3959, allocations: 31.86 kB / 0.8101 GB, free: 0.7852 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.0002494/0.3961, allocations: 208.1 kB / 0.8103 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3962, allocations: 31.77 kB / 0.8103 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.398, allocations: 0.6766 MB / 0.811 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.398, allocations: 4 kB / 0.811 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.398, allocations: 0 / 0.811 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.398, allocations: 4 kB / 0.811 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.3991, allocations: 0.6636 MB / 0.8116 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3991, allocations: 0 / 0.8116 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.3993, allocations: 43.91 kB / 0.8117 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.4009, allocations: 405.3 kB / 0.8121 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.4009, allocations: 8 kB / 0.8121 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005066/0.406, allocations: 3.761 MB / 0.8157 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.406, allocations: 0 / 0.8157 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.4081, allocations: 0.822 MB / 0.8165 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.4084, allocations: 148.5 kB / 0.8167 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.4084, allocations: 4 kB / 0.8167 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.4088, allocations: 39.94 kB / 0.8167 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.4089, allocations: 15.97 kB / 0.8167 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.4089, allocations: 12 kB / 0.8167 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003299/0.4093, allocations: 227.1 kB / 0.817 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4093, allocations: 0 / 0.817 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001178/0.4105, allocations: 200.1 kB / 0.8172 GB, free: 9.121 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.0002912/0.4108, allocations: 115.1 kB / 0.8173 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.4127, allocations: 0.9876 MB / 0.8182 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.4127, allocations: 0 / 0.8182 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007581/0.4135, allocations: 489.8 kB / 0.8187 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.4141, allocations: 88.97 kB / 0.8188 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.4156, allocations: 0.8945 MB / 0.8197 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.416, allocations: 0.847 MB / 0.8205 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003925/0.4164, allocations: 143.2 kB / 0.8206 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.4165, allocations: 27.44 kB / 0.8206 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of SimCode: time 1.042e-06/0.4165, allocations: 0 / 0.8206 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.0123/0.4288, allocations: 7.208 MB / 0.8277 GB, free: 14.25 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)