Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009862/0.0009862, allocations: 92.22 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.04/1.04, allocations: 177.1 MB / 204.2 MB, free: 5.664 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6116/0.6116, allocations: 115 MB / 375.7 MB, free: 7.609 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.394e-05/3.653e-05, allocations: 6.078 kB / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003473/0.003509, allocations: 2.135 MB / 483.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.004628, allocations: 0.514 MB / 484.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.004744, allocations: 5.25 kB / 484.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009553/0.005699, allocations: 417.1 kB / 484.5 MB, free: 9.965 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.005969, allocations: 101.1 kB / 484.6 MB, free: 9.906 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.006288, allocations: 108.7 kB / 484.7 MB, free: 9.855 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.006572, allocations: 212.7 kB / 484.9 MB, free: 9.762 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.006908, allocations: 130.9 kB / 485.1 MB, free: 9.695 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.007059, allocations: 118.9 kB / 485.2 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.007339, allocations: 92.77 kB / 485.3 MB, free: 9.617 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.007369, allocations: 12.38 kB / 485.3 MB, free: 9.617 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.007547, allocations: 79.27 kB / 485.4 MB, free: 9.594 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.33e-05/0.00762, allocations: 65.97 kB / 485.4 MB, free: 9.562 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.476e-05/0.007685, allocations: 43.69 kB / 485.5 MB, free: 9.547 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.007982, allocations: 169.1 kB / 485.6 MB, free: 9.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.007987, allocations: 3.375 kB / 485.6 MB, free: 9.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.007988, allocations: 0 / 485.6 MB, free: 9.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.007994, allocations: 0.8438 kB / 485.6 MB, free: 9.48 MB / 410.7 MB 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.0005518/0.008546, allocations: 479.6 kB / 486.1 MB, free: 9.039 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.008589, allocations: 9.562 kB / 486.1 MB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004475/0.009037, allocations: 75.09 kB / 486.2 MB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.009251, allocations: 164.1 kB / 486.4 MB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.009269, allocations: 12.05 kB / 486.4 MB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.009297, allocations: 10.47 kB / 486.4 MB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.009587, allocations: 197.5 kB / 486.6 MB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.009604, allocations: 192 / 486.6 MB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.009625, allocations: 15.27 kB / 486.6 MB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.009667, allocations: 24.31 kB / 486.6 MB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.009804, allocations: 56.88 kB / 486.7 MB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.01085, allocations: 0.9999 MB / 487.7 MB, free: 23.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/0.01091, allocations: 31.5 kB / 487.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.01094, allocations: 22.69 kB / 487.7 MB, free: 23.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.01096, allocations: 2.438 kB / 487.7 MB, free: 23.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.01099, allocations: 34.67 kB / 487.8 MB, free: 23.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.774e-06/0.01099, allocations: 0 / 487.8 MB, free: 23.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001912/0.01118, allocations: 55.7 kB / 487.8 MB, free: 23.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.0112, allocations: 52.78 kB / 487.9 MB, free: 23.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.01133, allocations: 204.8 kB / 488.1 MB, free: 23.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.01133, allocations: 27.14 kB / 488.1 MB, free: 23.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.01141, allocations: 197.9 kB / 488.3 MB, free: 23.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.01143, allocations: 17.45 kB / 488.3 MB, free: 23.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.01147, allocations: 38.89 kB / 488.3 MB, free: 23.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.01164, allocations: 0.4977 MB / 488.8 MB, free: 22.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.01167, allocations: 22.86 kB / 488.9 MB, free: 22.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.01173, allocations: 114.8 kB / 489 MB, free: 22.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.01184, allocations: 133.5 kB / 489.1 MB, free: 22.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.01185, allocations: 1.094 kB / 489.1 MB, free: 22.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001712/0.01202, allocations: 119.4 kB / 489.2 MB, free: 22.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.01203, allocations: 6.094 kB / 489.2 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01204, allocations: 3.219 kB / 489.2 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.01206, allocations: 5.406 kB / 489.2 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.01218, allocations: 27.11 kB / 489.3 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.01219, allocations: 3.094 kB / 489.3 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.01225, allocations: 13.11 kB / 489.3 MB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.01227, allocations: 9.844 kB / 489.3 MB, free: 22.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.13e-05/0.01234, allocations: 141.3 kB / 489.4 MB, free: 22.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.782e-05/0.01239, allocations: 114.8 kB / 489.5 MB, free: 21.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.352e-05/0.01249, allocations: 131.9 kB / 489.7 MB, free: 21.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.01249, allocations: 5.578 kB / 489.7 MB, free: 21.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001631/0.01265, allocations: 121.8 kB / 489.8 MB, free: 21.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.01267, allocations: 6.844 kB / 489.8 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.01267, allocations: 2.469 kB / 489.8 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/0.01268, allocations: 5.906 kB / 489.8 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.118e-05/0.01276, allocations: 31.72 kB / 489.8 MB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01276, allocations: 2.656 kB / 489.8 MB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.01282, allocations: 16.59 kB / 489.9 MB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.01283, allocations: 5.406 kB / 489.9 MB, free: 21.73 MB / 426.7 MB 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.0001411/0.01297, allocations: 279.7 kB / 490.1 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.01299, allocations: 7.797 kB / 490.1 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.01303, allocations: 11.16 kB / 490.1 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.01303, allocations: 6.062 kB / 490.2 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01304, allocations: 0 / 490.2 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.01304, allocations: 0.625 kB / 490.2 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.01338, allocations: 497 kB / 490.6 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01339, allocations: 1.125 kB / 490.6 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.01342, allocations: 10.91 kB / 490.7 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.01342, allocations: 1.219 kB / 490.7 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.01343, allocations: 5.625 kB / 490.7 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.01343, allocations: 6.906 kB / 490.7 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01344, allocations: 1.281 kB / 490.7 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.01354, allocations: 122.6 kB / 490.8 MB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.01357, allocations: 13.36 kB / 490.8 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.01359, allocations: 1.188 kB / 490.8 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.073e-05/0.01362, allocations: 5.688 kB / 490.8 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.01364, allocations: 6.328 kB / 490.8 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.01365, allocations: 1.25 kB / 490.8 MB, free: 20.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.178e-05/0.01373, allocations: 149 kB / 491 MB, free: 20.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01373, allocations: 1.156 kB / 491 MB, free: 20.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003933/0.01412, allocations: 56.22 kB / 491 MB, free: 20.66 MB / 426.7 MB 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.0001397/0.01426, allocations: 95.25 kB / 491.1 MB, free: 20.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.01452, allocations: 103.3 kB / 491.2 MB, free: 20.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.01453, allocations: 1.375 kB / 491.2 MB, free: 20.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.523e-05/0.01455, allocations: 21.59 kB / 491.2 MB, free: 20.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.01488, allocations: 25.17 kB / 491.3 MB, free: 20.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007395/0.01562, allocations: 278.2 kB / 491.5 MB, free: 20.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.749e-05/0.01567, allocations: 82.16 kB / 491.6 MB, free: 20.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.292e-05/0.01575, allocations: 24.48 kB / 491.6 MB, free: 20.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.01578, allocations: 14.06 kB / 491.6 MB, free: 20.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.163e-06/0.01578, allocations: 0 / 491.6 MB, free: 20.18 MB / 426.7 MB Notification: Performance of Templates: time 0.003361/0.01914, allocations: 0.7969 MB / 492.4 MB, free: 20.1 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.693002243991941]