Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001581/0.001581, allocations: 115.4 kB / 16.42 MB, free: 6.02 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.001858/0.001858, allocations: 185.9 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003526/0.003526, allocations: 288.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9641/0.9641, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 95.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4416, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005313/0.447, allocations: 4.161 MB / 0.7711 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003297/0.4503, allocations: 2.197 MB / 0.7733 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.4505, allocations: 7.938 kB / 0.7733 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.4519, allocations: 0.5442 MB / 0.7738 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004858/0.4524, allocations: 278.7 kB / 0.7741 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.4531, allocations: 343.2 kB / 0.7744 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005232/0.4536, allocations: 0.5646 MB / 0.7749 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004712/0.4541, allocations: 355.8 kB / 0.7753 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.4544, allocations: 239.1 kB / 0.7755 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.4548, allocations: 283 kB / 0.7758 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.4548, allocations: 32 kB / 0.7758 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.4552, allocations: 255.5 kB / 0.776 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.4554, allocations: 167.6 kB / 0.7762 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.4556, allocations: 222.9 kB / 0.7764 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006014/0.4562, allocations: 0.6334 MB / 0.777 GB, free: 9.648 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.4562, allocations: 0 / 0.777 GB, free: 9.648 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4562, allocations: 0 / 0.777 GB, free: 9.648 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.4562, allocations: 4 kB / 0.777 GB, free: 9.645 MB / 0.545 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.001058/0.4573, allocations: 0.7213 MB / 0.7777 GB, free: 8.875 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.4573, allocations: 8.031 kB / 0.7778 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009949/0.4583, allocations: 144.2 kB / 0.7779 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.4588, allocations: 332.5 kB / 0.7782 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.4589, allocations: 21.38 kB / 0.7782 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/0.4589, allocations: 40.36 kB / 0.7783 GB, free: 8.297 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000836/0.4598, allocations: 0.6263 MB / 0.7789 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4598, allocations: 3.938 kB / 0.7789 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.4599, allocations: 20 kB / 0.7789 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.891e-05/0.4599, allocations: 44.62 kB / 0.7789 GB, free: 7.559 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006938/0.4606, allocations: 474.2 kB / 0.7794 GB, free: 7.094 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.4639, allocations: 3.405 MB / 0.7827 GB, free: 3.402 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.4646, allocations: 377.8 kB / 0.7831 GB, free: 3.016 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.4648, allocations: 173.6 kB / 0.7832 GB, free: 2.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.4648, allocations: 4 kB / 0.7833 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.4649, allocations: 38.56 kB / 0.7833 GB, free: 2.789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/0.4649, allocations: 0 / 0.7833 GB, free: 2.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.004581/0.4695, allocations: 1.457 MB / 0.7847 GB, free: 1.281 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.4695, allocations: 81.11 kB / 0.7848 GB, free: 1.184 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.4698, allocations: 332.4 kB / 0.7851 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.4699, allocations: 29.7 kB / 0.7851 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.47, allocations: 263.2 kB / 0.7854 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.074e-05/0.4701, allocations: 102.6 kB / 0.7855 GB, free: 456 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.4702, allocations: 90.16 kB / 0.7856 GB, free: 360 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4703, allocations: 342.8 kB / 0.7859 GB, free: 8 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.4706, allocations: 183.1 kB / 0.7861 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.471, allocations: 346.1 kB / 0.7864 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006187/0.4716, allocations: 0.5284 MB / 0.7869 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4717, allocations: 0 / 0.7869 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002282/0.4739, allocations: 0.9159 MB / 0.7878 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.474, allocations: 8 kB / 0.7878 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.474, allocations: 8 kB / 0.7878 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/0.4764, allocations: 0.5052 MB / 0.7883 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.4767, allocations: 95.81 kB / 0.7884 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005563/0.4823, allocations: 4.041 MB / 0.7924 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.4827, allocations: 43.88 kB / 0.7924 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.4828, allocations: 23.98 kB / 0.7924 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003593/0.4831, allocations: 299.5 kB / 0.7927 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003195/0.4834, allocations: 335.8 kB / 0.793 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005536/0.484, allocations: 0.4996 MB / 0.7935 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.484, allocations: 0 / 0.7935 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007428/0.4848, allocations: 0.5342 MB / 0.794 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.4848, allocations: 8 kB / 0.794 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4848, allocations: 4 kB / 0.794 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.4848, allocations: 12 kB / 0.7941 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.4852, allocations: 111.8 kB / 0.7942 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.4852, allocations: 15.92 kB / 0.7942 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.4855, allocations: 31.83 kB / 0.7942 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.4856, allocations: 24 kB / 0.7942 GB, free: 6.852 MB / 0.5606 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.0001335/0.4857, allocations: 216.8 kB / 0.7944 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.4858, allocations: 31.62 kB / 0.7945 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.4875, allocations: 0.6579 MB / 0.7951 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4875, allocations: 7.922 kB / 0.7951 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4875, allocations: 0 / 0.7951 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.4877, allocations: 140.6 kB / 0.7953 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.4877, allocations: 16 kB / 0.7953 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.4881, allocations: 35.94 kB / 0.7953 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.4882, allocations: 23.95 kB / 0.7953 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001206/0.4894, allocations: 0.6723 MB / 0.796 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007346/0.4901, allocations: 0.7439 MB / 0.7967 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001913/0.4904, allocations: 143.9 kB / 0.7968 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002107/0.4906, allocations: 231 kB / 0.7971 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of Backend: time 6.82e-07/0.4906, allocations: 4 kB / 0.7971 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001946/0.4925, allocations: 1.036 MB / 0.7981 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00125/0.4938, allocations: 1.195 MB / 0.7993 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of Templates: time 0.01418/0.508, allocations: 9.149 MB / 0.8082 GB, free: 8.469 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)