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.001272/0.001272, allocations: 103.7 kB / 16.4 MB, free: 5.977 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.001199/0.001199, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002216/0.002216, allocations: 286 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.9864/0.9864, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 87.86 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4954, allocations: 86.98 MB / 0.767 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006296/0.5017, allocations: 4.154 MB / 0.7711 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003951/0.5057, allocations: 2.197 MB / 0.7732 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.5061, allocations: 7.938 kB / 0.7733 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.5078, allocations: 0.5428 MB / 0.7738 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000803/0.5086, allocations: 266.7 kB / 0.774 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.5097, allocations: 350 kB / 0.7744 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008371/0.5105, allocations: 0.5646 MB / 0.7749 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006516/0.5112, allocations: 359.8 kB / 0.7753 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004632/0.5117, allocations: 239.1 kB / 0.7755 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/0.5123, allocations: 283 kB / 0.7758 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.008e-05/0.5124, allocations: 32 kB / 0.7758 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005414/0.5129, allocations: 259.5 kB / 0.776 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.5132, allocations: 171.6 kB / 0.7762 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.5135, allocations: 214.9 kB / 0.7764 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009219/0.5144, allocations: 0.6411 MB / 0.777 GB, free: 9.875 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5144, allocations: 0 / 0.777 GB, free: 9.875 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5145, allocations: 0 / 0.777 GB, free: 9.875 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.982e-05/0.5145, allocations: 0 / 0.777 GB, free: 9.875 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.001437/0.5159, allocations: 0.7175 MB / 0.7777 GB, free: 9.109 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.516, allocations: 8.031 kB / 0.7777 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.517, allocations: 140.2 kB / 0.7779 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.5176, allocations: 332.5 kB / 0.7782 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.5176, allocations: 25.36 kB / 0.7782 GB, free: 8.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.5177, allocations: 36.38 kB / 0.7783 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009881/0.5187, allocations: 0.6302 MB / 0.7789 GB, free: 7.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.5187, allocations: 8 kB / 0.7789 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.603e-05/0.5188, allocations: 19.98 kB / 0.7789 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-05/0.5189, allocations: 40.62 kB / 0.7789 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007509/0.5196, allocations: 478.1 kB / 0.7794 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.5232, allocations: 3.409 MB / 0.7827 GB, free: 3.629 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007068/0.524, allocations: 369 kB / 0.7831 GB, free: 3.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.5242, allocations: 177.6 kB / 0.7832 GB, free: 3.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.5243, allocations: 3.984 kB / 0.7832 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.5243, allocations: 46.55 kB / 0.7833 GB, free: 3.012 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.884e-06/0.5243, allocations: 0 / 0.7833 GB, free: 3.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.004713/0.5291, allocations: 1.454 MB / 0.7847 GB, free: 1.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.5291, allocations: 77.11 kB / 0.7848 GB, free: 1.414 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/0.5295, allocations: 328.4 kB / 0.7851 GB, free: 1.082 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.5296, allocations: 29.7 kB / 0.7851 GB, free: 1.047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.5297, allocations: 255.3 kB / 0.7854 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-05/0.5298, allocations: 102.6 kB / 0.7855 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.53, allocations: 90.14 kB / 0.7856 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5301, allocations: 342.8 kB / 0.7859 GB, free: 256 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.5304, allocations: 186.9 kB / 0.7861 GB, free: 64 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.5308, allocations: 342.1 kB / 0.7864 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.5315, allocations: 0.5245 MB / 0.7869 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.5315, allocations: 7.984 kB / 0.7869 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002298/0.5338, allocations: 0.9124 MB / 0.7878 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.5339, allocations: 10.69 kB / 0.7878 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.5339, allocations: 8 kB / 0.7878 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002331/0.5362, allocations: 0.5086 MB / 0.7883 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.5366, allocations: 95.81 kB / 0.7884 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005892/0.5425, allocations: 4.046 MB / 0.7924 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.5429, allocations: 43.8 kB / 0.7924 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/0.543, allocations: 23.98 kB / 0.7924 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004381/0.5434, allocations: 303.5 kB / 0.7927 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003604/0.5438, allocations: 335.9 kB / 0.793 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006896/0.5445, allocations: 0.4996 MB / 0.7935 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.901e-06/0.5445, allocations: 4 kB / 0.7935 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008555/0.5454, allocations: 0.5258 MB / 0.794 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5454, allocations: 8 kB / 0.794 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5454, allocations: 8 kB / 0.794 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.5454, allocations: 11.94 kB / 0.7941 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.5458, allocations: 108.5 kB / 0.7942 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.5459, allocations: 11.98 kB / 0.7942 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.5462, allocations: 43.77 kB / 0.7942 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.5462, allocations: 23.98 kB / 0.7942 GB, free: 7.078 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.000179/0.5464, allocations: 204.1 kB / 0.7944 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-05/0.5465, allocations: 31.62 kB / 0.7945 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.5482, allocations: 0.6734 MB / 0.7951 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.5482, allocations: 4 kB / 0.7951 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5482, allocations: 0 / 0.7951 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5482, allocations: 0 / 0.7951 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.5493, allocations: 0.6597 MB / 0.7958 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.5494, allocations: 0 / 0.7958 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.5496, allocations: 52 kB / 0.7958 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/0.5511, allocations: 401.2 kB / 0.7962 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.5511, allocations: 8 kB / 0.7962 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004378/0.5555, allocations: 3.75 MB / 0.7999 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5555, allocations: 0 / 0.7999 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.5572, allocations: 0.8339 MB / 0.8007 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.5574, allocations: 144.5 kB / 0.8008 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.5575, allocations: 8 kB / 0.8008 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.5579, allocations: 35.94 kB / 0.8009 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.5579, allocations: 27.91 kB / 0.8009 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.558, allocations: 8 kB / 0.8009 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000257/0.5582, allocations: 227.1 kB / 0.8011 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5582, allocations: 0 / 0.8011 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009254/0.5592, allocations: 196.1 kB / 0.8013 GB, free: 15.42 MB / 0.5762 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.0002037/0.5594, allocations: 111.2 kB / 0.8014 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0018/0.5612, allocations: 0.975 MB / 0.8024 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5612, allocations: 0 / 0.8024 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000753/0.562, allocations: 477.2 kB / 0.8028 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.5626, allocations: 81.28 kB / 0.8029 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.564, allocations: 0.8001 MB / 0.8037 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.5645, allocations: 0.8392 MB / 0.8045 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.5647, allocations: 35.42 kB / 0.8045 GB, free: 12 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/0.5647, allocations: 0 / 0.8045 GB, free: 12 MB / 0.5762 GB Notification: Performance of Templates: time 0.01171/0.5764, allocations: 8.36 MB / 0.8127 GB, free: 3.652 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)