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.885/2.885, allocations: 287.5 MB / 302.4 MB, free: 8.23 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.001341/0.001341, allocations: 177.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001331/0.00133, allocations: 96.84 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007177/0.0007179, allocations: 14.77 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3009, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004859/0.3058, allocations: 2.142 MB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002326/0.3082, allocations: 0.7287 MB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.3085, allocations: 4 kB / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.3088, allocations: 27.78 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005266/0.3093, allocations: 75.69 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.31, allocations: 87.77 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000501/0.3105, allocations: 231.3 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004236/0.311, allocations: 171.2 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.3111, allocations: 63.77 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.3115, allocations: 91.66 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.3116, allocations: 8 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.3119, allocations: 47.95 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.312, allocations: 47.83 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.54e-05/0.3121, allocations: 49.64 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004532/0.3126, allocations: 167.8 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.3126, allocations: 0 / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.427e-06/0.3126, allocations: 4 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3127, allocations: 0 / 0.9822 GB, free: 24.41 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.0008299/0.3135, allocations: 427.1 kB / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.3136, allocations: 12.03 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007722/0.3144, allocations: 43.77 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.3148, allocations: 210.9 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.3148, allocations: 4.281 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.3149, allocations: 23.98 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/0.3155, allocations: 230.7 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.3156, allocations: 0 / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.3157, allocations: 7.984 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-05/0.3157, allocations: 16.22 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004721/0.3162, allocations: 144.7 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.318, allocations: 1.131 MB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.3183, allocations: 46.5 kB / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/0.3184, allocations: 24.89 kB / 0.9844 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.3184, allocations: 0 / 0.9844 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3184, allocations: 30.56 kB / 0.9844 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.705e-06/0.3185, allocations: 0 / 0.9844 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003426/0.3188, allocations: 73.58 kB / 0.9845 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.3189, allocations: 59.41 kB / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.3191, allocations: 167.9 kB / 0.9847 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3192, allocations: 29.7 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.3193, allocations: 147.3 kB / 0.9849 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.3194, allocations: 15.73 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.3194, allocations: 8 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.3195, allocations: 314.8 kB / 0.9852 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.813e-05/0.3196, allocations: 19.98 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.3197, allocations: 90.3 kB / 0.9853 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.3199, allocations: 39.94 kB / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.3199, allocations: 0 / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004222/0.3204, allocations: 137.7 kB / 0.9855 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.3205, allocations: 169.6 kB / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.3205, allocations: 4 kB / 0.9857 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.3206, allocations: 4 kB / 0.9857 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.3208, allocations: 20 kB / 0.9857 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.3209, allocations: 7.922 kB / 0.9857 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.3211, allocations: 19.84 kB / 0.9857 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.3211, allocations: 4 kB / 0.9857 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.3211, allocations: 8 kB / 0.9857 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002966/0.3215, allocations: 91.72 kB / 0.9858 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3215, allocations: 4 kB / 0.9858 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.3215, allocations: 4 kB / 0.9858 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.3217, allocations: 27.98 kB / 0.9858 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3217, allocations: 8.266 kB / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.3219, allocations: 19.78 kB / 0.9859 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.3219, allocations: 4 kB / 0.9859 GB, free: 20.22 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 0.0001892/0.3221, allocations: 213.1 kB / 0.9861 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.3222, allocations: 7.906 kB / 0.9861 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.3223, allocations: 12.94 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3223, allocations: 4 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.3223, allocations: 3.953 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3223, allocations: 0 / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007518/0.3231, allocations: 477 kB / 0.9866 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.3231, allocations: 0 / 0.9866 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-05/0.3232, allocations: 15.94 kB / 0.9866 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.3232, allocations: 0 / 0.9866 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3233, allocations: 0 / 0.9866 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.3233, allocations: 4 kB / 0.9866 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.3233, allocations: 4.125 kB / 0.9866 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.3235, allocations: 111.5 kB / 0.9867 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.3236, allocations: 96.91 kB / 0.9868 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.3237, allocations: 7.953 kB / 0.9868 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.3238, allocations: 0 / 0.9868 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.3238, allocations: 4 kB / 0.9868 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3239, allocations: 4 kB / 0.9868 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001605/0.324, allocations: 132.9 kB / 0.9869 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.82e-07/0.3241, allocations: 3.938 kB / 0.9869 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008824/0.3249, allocations: 51.84 kB / 0.987 GB, free: 18.97 MB / 0.6198 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 (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001543/0.3251, allocations: 103.1 kB / 0.9871 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.3256, allocations: 103.8 kB / 0.9872 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.3256, allocations: 0 / 0.9872 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.476e-05/0.3257, allocations: 19.94 kB / 0.9872 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.3263, allocations: 25.42 kB / 0.9872 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008664/0.3271, allocations: 320.8 kB / 0.9875 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.3275, allocations: 0.7241 MB / 0.9882 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002211/0.3277, allocations: 28.62 kB / 0.9883 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.3278, allocations: 11.44 kB / 0.9883 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of SimCode: time 1.332e-06/0.3278, allocations: 0 / 0.9883 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.005935/0.3337, allocations: 0.7904 MB / 0.989 GB, free: 16.79 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)