Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 111.5 kB / 16.37 MB, free: 6.309 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.001544/0.001544, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.444/1.444, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.843/1.843, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001433/0.001433, allocations: 68.28 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2856, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.00482/0.2905, allocations: 2.493 MB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5489/0.8394, allocations: 0.7774 MB / 0.788 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.8397, allocations: 3.375 kB / 0.788 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.841, allocations: 0.5756 MB / 0.7885 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.8413, allocations: 101.1 kB / 0.7886 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.8417, allocations: 116.9 kB / 0.7888 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.842, allocations: 194.9 kB / 0.7889 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003785/0.8424, allocations: 164.1 kB / 0.7891 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.981e-05/0.8424, allocations: 78.98 kB / 0.7892 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.8427, allocations: 97.17 kB / 0.7893 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.8427, allocations: 10.69 kB / 0.7893 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.8429, allocations: 114.4 kB / 0.7894 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.8429, allocations: 54.78 kB / 0.7894 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.843, allocations: 71.55 kB / 0.7895 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.8433, allocations: 219.9 kB / 0.7897 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8433, allocations: 8.719 kB / 0.7897 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8433, allocations: 0 / 0.7897 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.8433, allocations: 0 / 0.7897 GB, free: 46.54 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006243/0.844, allocations: 440 kB / 0.7901 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.844, allocations: 7.875 kB / 0.7901 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003726/0.8444, allocations: 48.86 kB / 0.7902 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.8446, allocations: 219.8 kB / 0.7904 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.8446, allocations: 11 kB / 0.7904 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.8446, allocations: 12.78 kB / 0.7904 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.845, allocations: 237.7 kB / 0.7907 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.845, allocations: 0 / 0.7907 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.845, allocations: 2.625 kB / 0.7907 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/0.845, allocations: 17.72 kB / 0.7907 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.8452, allocations: 146.2 kB / 0.7908 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009262/0.8462, allocations: 1.126 MB / 0.7919 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.86e-05/0.8462, allocations: 46.84 kB / 0.792 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.8463, allocations: 16.45 kB / 0.792 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.8463, allocations: 1.531 kB / 0.792 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.8463, allocations: 31.16 kB / 0.792 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.8463, allocations: 0.9688 kB / 0.792 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001897/0.8465, allocations: 79.25 kB / 0.7921 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.8466, allocations: 54.66 kB / 0.7921 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.8467, allocations: 178.1 kB / 0.7923 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.8467, allocations: 29.33 kB / 0.7923 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.8468, allocations: 144.9 kB / 0.7925 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.087e-05/0.8468, allocations: 12.08 kB / 0.7925 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.8468, allocations: 31.94 kB / 0.7925 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.8469, allocations: 321.6 kB / 0.7928 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-05/0.847, allocations: 34.03 kB / 0.7929 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.847, allocations: 91.36 kB / 0.7929 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.8471, allocations: 128.8 kB / 0.7931 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8472, allocations: 3.875 kB / 0.7931 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001689/0.8473, allocations: 134.2 kB / 0.7932 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.8474, allocations: 5.406 kB / 0.7932 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.8474, allocations: 3.312 kB / 0.7932 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.8474, allocations: 2.625 kB / 0.7932 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.8475, allocations: 37.28 kB / 0.7932 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.8475, allocations: 2.844 kB / 0.7932 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.8476, allocations: 12.12 kB / 0.7933 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.8476, allocations: 11.81 kB / 0.7933 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.616e-05/0.8477, allocations: 121.4 kB / 0.7934 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.644e-05/0.8478, allocations: 89.14 kB / 0.7935 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.029e-05/0.8479, allocations: 125.6 kB / 0.7936 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.8479, allocations: 2.625 kB / 0.7936 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.000165/0.8481, allocations: 132.1 kB / 0.7937 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.8481, allocations: 7.344 kB / 0.7937 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/0.8481, allocations: 3.438 kB / 0.7937 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-06/0.8481, allocations: 3.188 kB / 0.7937 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.722e-05/0.8482, allocations: 29.27 kB / 0.7938 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.8482, allocations: 9.938 kB / 0.7938 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.8482, allocations: 15.16 kB / 0.7938 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.8482, allocations: 7.062 kB / 0.7938 GB, free: 43.59 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/0.8483, allocations: 186.9 kB / 0.794 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.8483, allocations: 7.375 kB / 0.794 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.8484, allocations: 22.33 kB / 0.794 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8484, allocations: 3.938 kB / 0.794 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.8484, allocations: 0 / 0.794 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.8484, allocations: 92.84 kB / 0.7941 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.8485, allocations: 0 / 0.7941 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.8485, allocations: 7.688 kB / 0.7941 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.8485, allocations: 2.312 kB / 0.7941 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.82e-05/0.8486, allocations: 133 kB / 0.7942 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001038/0.8487, allocations: 248.9 kB / 0.7945 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.68e-05/0.8488, allocations: 14.44 kB / 0.7945 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.8489, allocations: 123.6 kB / 0.7946 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of Backend: time 3.6e-07/0.8489, allocations: 0 / 0.7946 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005706/0.8494, allocations: 243.1 kB / 0.7948 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006021/0.85, allocations: 0.701 MB / 0.7955 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.004533/0.8546, allocations: 1.526 MB / 0.797 GB, free: 42.1 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)