Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.082/2.082, allocations: 287.4 MB / 303.2 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 191 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 0.6305 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008418/0.000842, allocations: 96.02 kB / 0.7438 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003956, allocations: 14.16 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2175, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003269/0.2209, allocations: 2.138 MB / 0.9814 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2221, allocations: 0.7093 MB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.2224, allocations: 7.938 kB / 0.9821 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.2227, allocations: 23.84 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.2231, allocations: 91.62 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.2234, allocations: 89.52 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.2238, allocations: 231.3 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.2241, allocations: 183.3 kB / 0.9827 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.2242, allocations: 63.77 kB / 0.9827 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.2244, allocations: 83.72 kB / 0.9828 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.2245, allocations: 8 kB / 0.9828 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.2246, allocations: 51.89 kB / 0.9829 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.593e-05/0.2247, allocations: 51.83 kB / 0.9829 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.2248, allocations: 45.64 kB / 0.983 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.225, allocations: 171.8 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.225, allocations: 3.938 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.225, allocations: 0 / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.2251, allocations: 0 / 0.9831 GB, free: 24.2 MB / 0.6198 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.0006376/0.2257, allocations: 431.2 kB / 0.9835 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.2258, allocations: 8.031 kB / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003694/0.2261, allocations: 44.7 kB / 0.9836 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.2264, allocations: 212.1 kB / 0.9838 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.2264, allocations: 12.64 kB / 0.9838 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.2265, allocations: 12.38 kB / 0.9838 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.2268, allocations: 231.2 kB / 0.984 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2269, allocations: 192 / 0.984 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.2269, allocations: 7.938 kB / 0.984 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/0.2269, allocations: 16.27 kB / 0.984 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.2271, allocations: 148.6 kB / 0.9842 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.2282, allocations: 1.13 MB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.698e-05/0.2283, allocations: 42.56 kB / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.2283, allocations: 16.86 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.2283, allocations: 8.062 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.2283, allocations: 34.5 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.2283, allocations: 4 kB / 0.9854 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000188/0.2285, allocations: 69.59 kB / 0.9855 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.2286, allocations: 55.41 kB / 0.9855 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2287, allocations: 167.9 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.2287, allocations: 33.7 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.2288, allocations: 147.3 kB / 0.9858 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/0.2288, allocations: 7.844 kB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.2288, allocations: 8 kB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.2289, allocations: 322.8 kB / 0.9862 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/0.2289, allocations: 19.98 kB / 0.9862 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.998e-05/0.229, allocations: 85.38 kB / 0.9863 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.2291, allocations: 125.3 kB / 0.9864 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2291, allocations: 3.984 kB / 0.9864 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001685/0.2293, allocations: 133.2 kB / 0.9865 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.816e-05/0.2294, allocations: 161.9 kB / 0.9867 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2294, allocations: 11.88 kB / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.2294, allocations: 3.938 kB / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.2295, allocations: 31.92 kB / 0.9867 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.2296, allocations: 4 kB / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.2296, allocations: 15.84 kB / 0.9867 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.2296, allocations: 4 kB / 0.9867 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.2297, allocations: 4 kB / 0.9867 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001385/0.2298, allocations: 99.7 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2298, allocations: 4 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-06/0.2298, allocations: 4 kB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.2299, allocations: 27.94 kB / 0.9869 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.2299, allocations: 3.984 kB / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.511e-05/0.23, allocations: 15.84 kB / 0.9869 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.23, allocations: 4 kB / 0.9869 GB, free: 19.9 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.871e-05/0.2301, allocations: 225.3 kB / 0.9871 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.2301, allocations: 7.906 kB / 0.9871 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.2302, allocations: 12.94 kB / 0.9871 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2302, allocations: 0 / 0.9871 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2302, allocations: 4 kB / 0.9871 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.2303, allocations: 89 kB / 0.9872 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.2303, allocations: 11.94 kB / 0.9872 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-05/0.2304, allocations: 0 / 0.9872 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.887e-05/0.2304, allocations: 0 / 0.9872 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.198e-05/0.2305, allocations: 137 kB / 0.9874 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001375/0.2306, allocations: 238.9 kB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.324e-05/0.2307, allocations: 20.02 kB / 0.9876 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.602e-05/0.2308, allocations: 124.9 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of Backend: time 3.81e-07/0.2308, allocations: 0 / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000488/0.2313, allocations: 198.1 kB / 0.9879 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0006003/0.2319, allocations: 0.7694 MB / 0.9887 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.003899/0.2358, allocations: 1.4 MB / 0.99 GB, free: 16.59 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)