Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.006734/0.006735, allocations: 105.9 kB / 15.73 MB, free: 6.004 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.001267/0.001267, allocations: 189 kB / 16.67 MB, free: 5.926 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.604/1.604, allocations: 205.1 MB / 222.6 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.652/1.652, allocations: 251.7 MB / 0.5094 GB, free: 2.969 MB / 414.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.001479/0.001479, allocations: 71.89 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3181, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004911/0.3231, allocations: 2.513 MB / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.3246, allocations: 0.7712 MB / 0.8312 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.3249, allocations: 4 kB / 0.8312 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.3265, allocations: 0.5772 MB / 0.8318 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.3269, allocations: 107.5 kB / 0.8319 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.3273, allocations: 115.2 kB / 0.832 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.3276, allocations: 191.4 kB / 0.8322 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004112/0.328, allocations: 162.1 kB / 0.8323 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.3282, allocations: 83.69 kB / 0.8324 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.3284, allocations: 95.64 kB / 0.8325 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.3285, allocations: 12 kB / 0.8325 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.3287, allocations: 115.8 kB / 0.8326 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.3288, allocations: 55.89 kB / 0.8327 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.438e-05/0.3289, allocations: 67.61 kB / 0.8328 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.3293, allocations: 223.3 kB / 0.833 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3293, allocations: 0 / 0.833 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of FrontEnd: time 7.72e-07/0.3293, allocations: 0 / 0.833 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.3293, allocations: 0 / 0.833 GB, free: 11.13 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.000749/0.3301, allocations: 451.2 kB / 0.8334 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3301, allocations: 12.03 kB / 0.8334 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004393/0.3306, allocations: 44.75 kB / 0.8334 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.3309, allocations: 220.1 kB / 0.8337 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3309, allocations: 8.656 kB / 0.8337 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.3309, allocations: 16.38 kB / 0.8337 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.3313, allocations: 242.7 kB / 0.8339 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3313, allocations: 4 kB / 0.8339 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.3313, allocations: 8 kB / 0.8339 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/0.3314, allocations: 20.27 kB / 0.8339 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.3316, allocations: 140.7 kB / 0.8341 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.3327, allocations: 1.126 MB / 0.8352 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.82e-05/0.3328, allocations: 38.56 kB / 0.8352 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.3329, allocations: 28.81 kB / 0.8352 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.3329, allocations: 0 / 0.8352 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3329, allocations: 34.56 kB / 0.8353 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3329, allocations: 4 kB / 0.8353 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002268/0.3332, allocations: 77.44 kB / 0.8354 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.3332, allocations: 51.41 kB / 0.8354 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3334, allocations: 171 kB / 0.8356 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3334, allocations: 25.7 kB / 0.8356 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.57e-05/0.3335, allocations: 147.4 kB / 0.8357 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.3335, allocations: 15.8 kB / 0.8357 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.3336, allocations: 37.61 kB / 0.8358 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3337, allocations: 326.8 kB / 0.8361 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.642e-05/0.3338, allocations: 24.8 kB / 0.8361 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.138e-05/0.3339, allocations: 89.42 kB / 0.8362 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.334, allocations: 121.3 kB / 0.8363 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.334, allocations: 4 kB / 0.8363 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002043/0.3342, allocations: 137.3 kB / 0.8365 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3343, allocations: 4.312 kB / 0.8365 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3343, allocations: 8 kB / 0.8365 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3343, allocations: 7.938 kB / 0.8365 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.3344, allocations: 27.92 kB / 0.8365 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3344, allocations: 0 / 0.8365 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.3345, allocations: 15.84 kB / 0.8365 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.3345, allocations: 4 kB / 0.8365 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.985e-05/0.3346, allocations: 128.1 kB / 0.8366 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.767e-05/0.3347, allocations: 89.44 kB / 0.8367 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001213/0.3349, allocations: 125.2 kB / 0.8368 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.3349, allocations: 3.938 kB / 0.8368 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001936/0.3351, allocations: 137.6 kB / 0.837 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.3351, allocations: 8 kB / 0.837 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.3351, allocations: 3.984 kB / 0.837 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/0.3351, allocations: 7.984 kB / 0.837 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.47e-05/0.3352, allocations: 23.98 kB / 0.837 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3352, allocations: 15.86 kB / 0.837 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.261e-05/0.3353, allocations: 11.84 kB / 0.837 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3353, allocations: 12 kB / 0.8371 GB, free: 6.473 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 0.000103/0.3354, allocations: 180.5 kB / 0.8372 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.3354, allocations: 11.91 kB / 0.8372 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.3355, allocations: 12.94 kB / 0.8373 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3355, allocations: 11.92 kB / 0.8373 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3355, allocations: 0 / 0.8373 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3355, allocations: 0 / 0.8373 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.3359, allocations: 473 kB / 0.8377 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3359, allocations: 0 / 0.8377 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.336, allocations: 8 kB / 0.8377 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.336, allocations: 0 / 0.8377 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.336, allocations: 4 kB / 0.8377 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.336, allocations: 0 / 0.8377 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.336, allocations: 0 / 0.8377 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.3362, allocations: 123.6 kB / 0.8378 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.3362, allocations: 85.02 kB / 0.8379 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3362, allocations: 4 kB / 0.8379 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.281e-05/0.3363, allocations: 0 / 0.8379 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.3363, allocations: 11.98 kB / 0.8379 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.3363, allocations: 0 / 0.8379 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001024/0.3364, allocations: 124 kB / 0.8381 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.2e-07/0.3364, allocations: 4 kB / 0.8381 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003636/0.3368, allocations: 55.78 kB / 0.8381 GB, free: 5.258 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001167/0.3369, allocations: 99.19 kB / 0.8382 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.3371, allocations: 112.8 kB / 0.8383 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3372, allocations: 0 / 0.8383 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.459e-05/0.3372, allocations: 23.92 kB / 0.8383 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3375, allocations: 15.98 kB / 0.8384 GB, free: 5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.338, allocations: 279.4 kB / 0.8386 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.3383, allocations: 0.7202 MB / 0.8393 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.719e-05/0.3384, allocations: 36.55 kB / 0.8394 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.3384, allocations: 11.44 kB / 0.8394 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.3384, allocations: 3.938 kB / 0.8394 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of Templates: time 0.003411/0.3418, allocations: 0.8798 MB / 0.8402 GB, free: 3.023 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)