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.001082/0.001082, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001125/0.001125, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.588/1.588, allocations: 251.9 MB / 0.51 GB, free: 4.859 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.0005789/0.000579, allocations: 16 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6236/0.6242, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003286/0.6276, allocations: 2.118 MB / 0.73 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.629, allocations: 0.7016 MB / 0.7307 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.6291, allocations: 8 kB / 0.7307 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.6293, allocations: 23.86 kB / 0.7308 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.6297, allocations: 63.75 kB / 0.7308 GB, free: 8.527 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.6301, allocations: 83.77 kB / 0.7309 GB, free: 8.445 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.6303, allocations: 115.7 kB / 0.731 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.6307, allocations: 167.2 kB / 0.7312 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.277e-05/0.6308, allocations: 55.83 kB / 0.7312 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.631, allocations: 59.75 kB / 0.7313 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.6311, allocations: 8 kB / 0.7313 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.6312, allocations: 43.97 kB / 0.7313 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.6313, allocations: 43.91 kB / 0.7314 GB, free: 7.938 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.485e-05/0.6313, allocations: 53.56 kB / 0.7314 GB, free: 7.879 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.6316, allocations: 165.5 kB / 0.7316 GB, free: 7.719 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6316, allocations: 0 / 0.7316 GB, free: 7.719 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6316, allocations: 3.938 kB / 0.7316 GB, free: 7.715 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.6316, allocations: 0 / 0.7316 GB, free: 7.715 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007421/0.6324, allocations: 423.2 kB / 0.732 GB, free: 7.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.6324, allocations: 12.03 kB / 0.732 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00043/0.6329, allocations: 47.77 kB / 0.732 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.6332, allocations: 218.7 kB / 0.7323 GB, free: 6.938 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.6332, allocations: 16.25 kB / 0.7323 GB, free: 6.922 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.6333, allocations: 12 kB / 0.7323 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.6337, allocations: 234.7 kB / 0.7325 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.6337, allocations: 0 / 0.7325 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.6338, allocations: 8 kB / 0.7325 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.6338, allocations: 8.281 kB / 0.7325 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.6341, allocations: 148.7 kB / 0.7327 GB, free: 6.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.6354, allocations: 1.134 MB / 0.7338 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.6355, allocations: 38.56 kB / 0.7338 GB, free: 5.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.6355, allocations: 11.88 kB / 0.7338 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.6356, allocations: 34.56 kB / 0.7338 GB, free: 5.129 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.6356, allocations: 0 / 0.7338 GB, free: 5.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002492/0.6359, allocations: 69.69 kB / 0.7339 GB, free: 5.055 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.6359, allocations: 55.39 kB / 0.734 GB, free: 4.988 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.6361, allocations: 176.4 kB / 0.7341 GB, free: 4.805 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.6361, allocations: 29.7 kB / 0.7342 GB, free: 4.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.6363, allocations: 147.3 kB / 0.7343 GB, free: 4.621 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.6363, allocations: 3.906 kB / 0.7343 GB, free: 4.617 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/0.6363, allocations: 4 kB / 0.7343 GB, free: 4.613 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6364, allocations: 322.8 kB / 0.7346 GB, free: 4.289 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/0.6365, allocations: 19.98 kB / 0.7346 GB, free: 4.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.6366, allocations: 97.31 kB / 0.7347 GB, free: 4.141 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.63e-05/0.6367, allocations: 35.98 kB / 0.7348 GB, free: 4.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6367, allocations: 4 kB / 0.7348 GB, free: 4.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000204/0.6369, allocations: 133.5 kB / 0.7349 GB, free: 3.965 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005498/0.6375, allocations: 0.9758 MB / 0.7359 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.6375, allocations: 0 / 0.7359 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.6375, allocations: 4 kB / 0.7359 GB, free: 2.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.6376, allocations: 27.94 kB / 0.7359 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.6377, allocations: 7.984 kB / 0.7359 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/0.6377, allocations: 15.84 kB / 0.7359 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.6378, allocations: 4 kB / 0.7359 GB, free: 2.855 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.6378, allocations: 6.188 kB / 0.7359 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001381/0.6379, allocations: 99.72 kB / 0.736 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6379, allocations: 4 kB / 0.736 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.6379, allocations: 7.984 kB / 0.736 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.638, allocations: 23.94 kB / 0.736 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.638, allocations: 4 kB / 0.736 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.6381, allocations: 11.84 kB / 0.7361 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.6381, allocations: 7.938 kB / 0.7361 GB, free: 2.695 MB / 0.545 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.0001683/0.6383, allocations: 229.2 kB / 0.7363 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.6383, allocations: 7.906 kB / 0.7363 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.6384, allocations: 12.94 kB / 0.7363 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.6384, allocations: 0 / 0.7363 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.6384, allocations: 4 kB / 0.7363 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6384, allocations: 0 / 0.7363 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.6389, allocations: 481 kB / 0.7368 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6389, allocations: 0 / 0.7368 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.6389, allocations: 11.98 kB / 0.7368 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6389, allocations: 0 / 0.7368 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.639, allocations: 0 / 0.7368 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.639, allocations: 4 kB / 0.7368 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.639, allocations: 3.953 kB / 0.7368 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.6391, allocations: 148.8 kB / 0.7369 GB, free: 1.684 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.603e-05/0.6392, allocations: 89 kB / 0.737 GB, free: 1.578 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.6393, allocations: 4 kB / 0.737 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.552e-05/0.6393, allocations: 7.938 kB / 0.737 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.6393, allocations: 4 kB / 0.737 GB, free: 1.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.6393, allocations: 7.984 kB / 0.737 GB, free: 1.555 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001246/0.6395, allocations: 120 kB / 0.7372 GB, free: 1.438 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6395, allocations: 0 / 0.7372 GB, free: 1.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003414/0.6398, allocations: 51.84 kB / 0.7372 GB, free: 1.387 MB / 0.545 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.000138/0.64, allocations: 99.25 kB / 0.7373 GB, free: 1.277 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.6402, allocations: 107.9 kB / 0.7374 GB, free: 1.172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6402, allocations: 0 / 0.7374 GB, free: 1.172 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.6402, allocations: 23.92 kB / 0.7374 GB, free: 1.148 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.6405, allocations: 22.83 kB / 0.7374 GB, free: 1.133 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.641, allocations: 316.8 kB / 0.7377 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.6414, allocations: 0.7396 MB / 0.7385 GB, free: 20 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.706e-05/0.6415, allocations: 20.77 kB / 0.7385 GB, free: 0 / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.6416, allocations: 19.62 kB / 0.7385 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.6416, allocations: 0 / 0.7385 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.003397/0.645, allocations: 0.782 MB / 0.7393 GB, free: 15.2 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: