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.001647/0.001647, allocations: 104.6 kB / 16.41 MB, free: 6.512 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.001673/0.001673, allocations: 187 kB / 17.34 MB, free: 5.742 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002147/0.002147, allocations: 290.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 95.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4972/0.4993, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006316/0.5056, allocations: 4.154 MB / 0.7711 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004862/0.5105, allocations: 2.201 MB / 0.7732 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.5109, allocations: 7.938 kB / 0.7733 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.5126, allocations: 0.5441 MB / 0.7738 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007887/0.5134, allocations: 270.7 kB / 0.774 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.5147, allocations: 343.2 kB / 0.7744 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.5157, allocations: 0.5607 MB / 0.7749 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006896/0.5164, allocations: 355.8 kB / 0.7753 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004551/0.5169, allocations: 243.1 kB / 0.7755 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005786/0.5175, allocations: 275.1 kB / 0.7757 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.233e-05/0.5176, allocations: 36 kB / 0.7758 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005343/0.5181, allocations: 259.5 kB / 0.776 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.5184, allocations: 175.5 kB / 0.7762 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.5187, allocations: 226.9 kB / 0.7764 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000873/0.5195, allocations: 0.6256 MB / 0.777 GB, free: 9.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5195, allocations: 0 / 0.777 GB, free: 9.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5196, allocations: 0 / 0.777 GB, free: 9.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.5196, allocations: 0 / 0.777 GB, free: 9.66 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.001396/0.521, allocations: 0.7291 MB / 0.7777 GB, free: 8.883 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.521, allocations: 8.031 kB / 0.7777 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.5221, allocations: 136.2 kB / 0.7779 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.5226, allocations: 324.5 kB / 0.7782 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.5227, allocations: 29.36 kB / 0.7782 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/0.5228, allocations: 36.36 kB / 0.7782 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009805/0.5238, allocations: 0.6302 MB / 0.7789 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.5238, allocations: 7.938 kB / 0.7789 GB, free: 7.633 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.5238, allocations: 12 kB / 0.7789 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.578e-05/0.5239, allocations: 40.62 kB / 0.7789 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.5247, allocations: 478.2 kB / 0.7794 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003656/0.5284, allocations: 3.416 MB / 0.7827 GB, free: 3.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.5291, allocations: 368.9 kB / 0.7831 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.5293, allocations: 173.6 kB / 0.7832 GB, free: 2.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.5294, allocations: 4 kB / 0.7832 GB, free: 2.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.5294, allocations: 38.56 kB / 0.7833 GB, free: 2.805 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/0.5294, allocations: 0 / 0.7833 GB, free: 2.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.004645/0.5341, allocations: 1.458 MB / 0.7847 GB, free: 1.297 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.5341, allocations: 81.05 kB / 0.7848 GB, free: 1.199 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.5345, allocations: 328.4 kB / 0.7851 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.5345, allocations: 33.7 kB / 0.7851 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.5347, allocations: 259.3 kB / 0.7854 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.352e-05/0.5348, allocations: 98.58 kB / 0.7855 GB, free: 480 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.5349, allocations: 94.14 kB / 0.7855 GB, free: 380 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5351, allocations: 342.8 kB / 0.7859 GB, free: 28 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.5354, allocations: 183.1 kB / 0.7861 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.5358, allocations: 342 kB / 0.7864 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/0.5365, allocations: 0.5323 MB / 0.7869 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.5365, allocations: 4 kB / 0.7869 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002274/0.5388, allocations: 0.9085 MB / 0.7878 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.5388, allocations: 16.05 kB / 0.7878 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.5388, allocations: 4 kB / 0.7878 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/0.5411, allocations: 0.5047 MB / 0.7883 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.5414, allocations: 95.81 kB / 0.7884 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005713/0.5472, allocations: 4.055 MB / 0.7924 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.5475, allocations: 39.81 kB / 0.7924 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.5476, allocations: 24 kB / 0.7924 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003772/0.548, allocations: 299.5 kB / 0.7927 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003678/0.5484, allocations: 339.8 kB / 0.793 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000613/0.549, allocations: 0.4958 MB / 0.7935 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.632e-06/0.549, allocations: 4 kB / 0.7935 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.000794/0.5498, allocations: 0.5257 MB / 0.794 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5498, allocations: 8 kB / 0.794 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5498, allocations: 8 kB / 0.794 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.5498, allocations: 12.69 kB / 0.7941 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.5502, allocations: 111.8 kB / 0.7942 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.5503, allocations: 19.92 kB / 0.7942 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.5506, allocations: 35.81 kB / 0.7942 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.5506, allocations: 24 kB / 0.7942 GB, free: 6.855 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.0001788/0.5508, allocations: 208.1 kB / 0.7944 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.935e-05/0.5509, allocations: 31.62 kB / 0.7945 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.5526, allocations: 0.6735 MB / 0.7951 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.5526, allocations: 4 kB / 0.7951 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5526, allocations: 0 / 0.7951 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.5527, allocations: 4 kB / 0.7951 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009101/0.5536, allocations: 0.648 MB / 0.7958 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5536, allocations: 4.031 kB / 0.7958 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.5538, allocations: 51.95 kB / 0.7958 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/0.5553, allocations: 397.2 kB / 0.7962 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.5553, allocations: 11.94 kB / 0.7962 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004112/0.5594, allocations: 3.749 MB / 0.7999 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5594, allocations: 0 / 0.7999 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.5611, allocations: 0.83 MB / 0.8007 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.5613, allocations: 148.5 kB / 0.8008 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.5613, allocations: 8 kB / 0.8008 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.5617, allocations: 35.94 kB / 0.8009 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.5618, allocations: 27.91 kB / 0.8009 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.5618, allocations: 8 kB / 0.8009 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002484/0.5621, allocations: 231 kB / 0.8011 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5621, allocations: 0 / 0.8011 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008761/0.5629, allocations: 196.1 kB / 0.8013 GB, free: 15.2 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.0001833/0.5631, allocations: 107.4 kB / 0.8014 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.5649, allocations: 0.9751 MB / 0.8024 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5649, allocations: 0 / 0.8024 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000749/0.5656, allocations: 485.1 kB / 0.8028 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/0.5662, allocations: 81.66 kB / 0.8029 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.5676, allocations: 0.7825 MB / 0.8037 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.5681, allocations: 0.847 MB / 0.8045 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.5682, allocations: 35.44 kB / 0.8045 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.5682, allocations: 0 / 0.8045 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of Templates: time 0.0125/0.5808, allocations: 8.358 MB / 0.8127 GB, free: 3.434 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)