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.0008387/0.0008387, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.001046/0.001046, allocations: 169 kB / 24.25 MB, free: 308 kB / 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.011/1.011, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.6403/0.6403, allocations: 115 MB / 376 MB, free: 7.656 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 1.233e-06/1.233e-06, allocations: 0.6562 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.329e-05, allocations: 2.312 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002619/0.002633, allocations: 2.577 MB / 484.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008839/0.003516, allocations: 0.7872 MB / 484.8 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.003591, allocations: 3.688 kB / 484.8 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007321/0.004323, allocations: 0.5551 MB / 485.4 MB, free: 9.457 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.004489, allocations: 110.1 kB / 485.5 MB, free: 9.398 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.004667, allocations: 110.2 kB / 485.6 MB, free: 9.344 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.004853, allocations: 206.8 kB / 485.8 MB, free: 9.254 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.005059, allocations: 135 kB / 485.9 MB, free: 9.184 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.005159, allocations: 123.1 kB / 486.1 MB, free: 9.133 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.005331, allocations: 87.59 kB / 486.2 MB, free: 9.109 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.005354, allocations: 14.19 kB / 486.2 MB, free: 9.109 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.00547, allocations: 98.84 kB / 486.3 MB, free: 9.078 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.005519, allocations: 63.95 kB / 486.3 MB, free: 9.047 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.005567, allocations: 51.25 kB / 486.4 MB, free: 9.027 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.005759, allocations: 183.6 kB / 486.6 MB, free: 8.957 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.00576, allocations: 1.188 kB / 486.6 MB, free: 8.957 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005761, allocations: 0 / 486.6 MB, free: 8.957 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.005764, allocations: 0 / 486.6 MB, free: 8.957 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.0003458/0.00611, allocations: 470.8 kB / 487 MB, free: 8.523 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.006138, allocations: 9.062 kB / 487 MB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.006426, allocations: 79.05 kB / 487.1 MB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.006569, allocations: 161.8 kB / 487.3 MB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.006581, allocations: 11.88 kB / 487.3 MB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.006596, allocations: 12.91 kB / 487.3 MB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.00678, allocations: 199 kB / 487.5 MB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.006788, allocations: 1.594 kB / 487.5 MB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.0068, allocations: 3.375 kB / 487.5 MB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.006826, allocations: 23.09 kB / 487.5 MB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.558e-05/0.006922, allocations: 66.19 kB / 487.6 MB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006662/0.007588, allocations: 0.9946 MB / 488.6 MB, free: 23.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.235e-05/0.007631, allocations: 40.53 kB / 488.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.007647, allocations: 13.61 kB / 488.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.007655, allocations: 4.578 kB / 488.6 MB, free: 23.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.007669, allocations: 35.58 kB / 488.7 MB, free: 23.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.00767, allocations: 1.75 kB / 488.7 MB, free: 23.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001094/0.007779, allocations: 54.97 kB / 488.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.52e-05/0.007795, allocations: 56.69 kB / 488.8 MB, free: 23.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.007881, allocations: 203.5 kB / 489 MB, free: 22.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.007887, allocations: 29.7 kB / 489 MB, free: 22.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.007942, allocations: 194.7 kB / 489.2 MB, free: 22.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.715e-06/0.00795, allocations: 10.61 kB / 489.2 MB, free: 22.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.007982, allocations: 44.47 kB / 489.2 MB, free: 22.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.008089, allocations: 0.4938 MB / 489.7 MB, free: 22.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.314e-05/0.008122, allocations: 18.88 kB / 489.8 MB, free: 22.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.652e-05/0.008169, allocations: 107.2 kB / 489.9 MB, free: 21.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.966e-05/0.008249, allocations: 139 kB / 490 MB, free: 21.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.00825, allocations: 1.406 kB / 490 MB, free: 21.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001224/0.008373, allocations: 118.7 kB / 490.1 MB, free: 21.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.008385, allocations: 5.562 kB / 490.1 MB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.008389, allocations: 5.062 kB / 490.1 MB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.008402, allocations: 2.5 kB / 490.1 MB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.008472, allocations: 27.31 kB / 490.2 MB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.008479, allocations: 7.656 kB / 490.2 MB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.845e-05/0.008517, allocations: 12.52 kB / 490.2 MB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.008527, allocations: 11.53 kB / 490.2 MB, free: 21.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.592e-05/0.008583, allocations: 146 kB / 490.3 MB, free: 21.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.117e-05/0.008624, allocations: 112.1 kB / 490.4 MB, free: 21.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.175e-05/0.008686, allocations: 134.7 kB / 490.6 MB, free: 21.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.153e-06/0.008687, allocations: 2.594 kB / 490.6 MB, free: 21.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.000104/0.008791, allocations: 122.7 kB / 490.7 MB, free: 21.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/0.008798, allocations: 6.25 kB / 490.7 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/0.0088, allocations: 2.688 kB / 490.7 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/0.008804, allocations: 4.375 kB / 490.7 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.761e-05/0.008852, allocations: 25.77 kB / 490.7 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.008855, allocations: 4.375 kB / 490.7 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.174e-05/0.008887, allocations: 12.33 kB / 490.7 MB, free: 21.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.008893, allocations: 6.188 kB / 490.7 MB, free: 21.22 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 7.842e-05/0.008971, allocations: 281.7 kB / 491 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.008987, allocations: 12.11 kB / 491 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.009007, allocations: 12.94 kB / 491 MB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.009009, allocations: 2.031 kB / 491.1 MB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.009012, allocations: 0.875 kB / 491.1 MB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.009018, allocations: 1.219 kB / 491.1 MB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.009245, allocations: 0.4928 MB / 491.5 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.009246, allocations: 3.094 kB / 491.5 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.009261, allocations: 5.688 kB / 491.6 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009263, allocations: 4.859 kB / 491.6 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.009268, allocations: 1.375 kB / 491.6 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.00927, allocations: 6.625 kB / 491.6 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.009271, allocations: 1.25 kB / 491.6 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.42e-05/0.009325, allocations: 123.5 kB / 491.7 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.009342, allocations: 8.734 kB / 491.7 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.009354, allocations: 6.547 kB / 491.7 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.642e-05/0.00937, allocations: 5.062 kB / 491.7 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.009382, allocations: 6.938 kB / 491.7 MB, free: 20.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.009384, allocations: 1 kB / 491.7 MB, free: 20.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.194e-05/0.009436, allocations: 147 kB / 491.9 MB, free: 20.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009436, allocations: 0 / 491.9 MB, free: 20.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002215/0.009657, allocations: 58.47 kB / 491.9 MB, free: 20.14 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 5.555e-05/0.009713, allocations: 97 kB / 492 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.009842, allocations: 113.3 kB / 492.1 MB, free: 20 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.009843, allocations: 1.812 kB / 492.1 MB, free: 20 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.391e-05/0.009857, allocations: 19.22 kB / 492.1 MB, free: 19.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.01003, allocations: 26.97 kB / 492.2 MB, free: 19.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.01044, allocations: 282.3 kB / 492.4 MB, free: 19.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.182e-05/0.01047, allocations: 71.44 kB / 492.5 MB, free: 19.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.313e-05/0.01053, allocations: 23.81 kB / 492.5 MB, free: 19.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.01055, allocations: 13.94 kB / 492.6 MB, free: 19.66 MB / 426.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01055, allocations: 1.594 kB / 492.6 MB, free: 19.66 MB / 426.7 MB Notification: Performance of Templates: time 0.002219/0.01277, allocations: 0.7939 MB / 493.3 MB, free: 19.57 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.5726810530759394]