Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.0009521/0.0009521, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.0009809/0.0009809, allocations: 169 kB / 24.14 MB, free: 356 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.039/1.039, allocations: 177.1 MB / 204.6 MB, free: 5.066 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.6242/0.6242, allocations: 115 MB / 376 MB, free: 7.41 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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 428.7 MB, free: 2.801 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.04e-05, allocations: 6.25 kB / 428.7 MB, free: 2.793 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003466/0.003497, allocations: 2.495 MB / 431.2 MB, free: 288 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.005848, allocations: 1.258 MB / 432.5 MB, free: 15.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.006018, allocations: 7.938 kB / 432.5 MB, free: 15.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004513/0.006469, allocations: 91.52 kB / 432.6 MB, free: 14.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004491/0.006918, allocations: 186.9 kB / 432.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.007309, allocations: 163.5 kB / 432.9 MB, free: 14.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000419/0.007728, allocations: 334.8 kB / 433.2 MB, free: 14.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.007988, allocations: 178.3 kB / 433.4 MB, free: 14.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.008264, allocations: 199.5 kB / 433.6 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.008526, allocations: 147.6 kB / 433.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.008554, allocations: 20 kB / 433.8 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.008806, allocations: 155.7 kB / 433.9 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.00891, allocations: 111.7 kB / 434 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.009018, allocations: 91.81 kB / 434.1 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.00945, allocations: 299 kB / 434.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.009453, allocations: 0 / 434.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.009454, allocations: 0 / 434.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.009461, allocations: 0 / 434.4 MB, free: 13.07 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005912/0.01005, allocations: 456 kB / 434.9 MB, free: 12.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.01009, allocations: 8.031 kB / 434.9 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006147/0.01071, allocations: 116.6 kB / 435 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.01097, allocations: 189.4 kB / 435.2 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.01098, allocations: 12.88 kB / 435.2 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/0.01105, allocations: 24.56 kB / 435.2 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.01134, allocations: 283.8 kB / 435.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.01135, allocations: 4.125 kB / 435.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.01137, allocations: 16.11 kB / 435.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.531e-05/0.01144, allocations: 28.48 kB / 435.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.01156, allocations: 87.38 kB / 435.6 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000951/0.01251, allocations: 0.8457 MB / 436.5 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.01271, allocations: 152.1 kB / 436.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.01276, allocations: 36.84 kB / 436.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.275e-05/0.01283, allocations: 8 kB / 436.6 MB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.01285, allocations: 38.55 kB / 436.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.983e-06/0.01286, allocations: 4 kB / 436.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006394/0.0135, allocations: 348.2 kB / 437 MB, free: 10.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.01352, allocations: 55.41 kB / 437.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.01363, allocations: 187.2 kB / 437.3 MB, free: 10.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.01365, allocations: 29.7 kB / 437.3 MB, free: 9.973 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.01372, allocations: 160.5 kB / 437.4 MB, free: 9.809 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.01376, allocations: 71.41 kB / 437.5 MB, free: 9.738 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.01382, allocations: 49.64 kB / 437.6 MB, free: 9.684 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.0139, allocations: 330.8 kB / 437.9 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.01395, allocations: 27.98 kB / 437.9 MB, free: 9.324 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.01402, allocations: 85.91 kB / 438 MB, free: 9.219 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.01415, allocations: 136.7 kB / 438.1 MB, free: 9.062 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01415, allocations: 3.938 kB / 438.1 MB, free: 9.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003133/0.01446, allocations: 204.9 kB / 438.3 MB, free: 8.848 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.01448, allocations: 4.188 kB / 438.3 MB, free: 8.844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.01449, allocations: 8 kB / 438.4 MB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00037/0.01486, allocations: 115.5 kB / 438.5 MB, free: 8.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.01498, allocations: 39.92 kB / 438.5 MB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.0164, allocations: 1.351 MB / 439.9 MB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.01654, allocations: 8 kB / 439.9 MB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.01656, allocations: 7.984 kB / 439.9 MB, free: 7.215 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.543e-05/0.01665, allocations: 124.6 kB / 440 MB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.01669, allocations: 19.98 kB / 440 MB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.01688, allocations: 151.5 kB / 440.2 MB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01688, allocations: 0 / 440.2 MB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.01688, allocations: 0 / 440.2 MB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01689, allocations: 4 kB / 440.2 MB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.01727, allocations: 403.5 kB / 440.6 MB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.01727, allocations: 4 kB / 440.6 MB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.01742, allocations: 47.91 kB / 440.6 MB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.01742, allocations: 3.938 kB / 440.6 MB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.01743, allocations: 8 kB / 440.6 MB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01744, allocations: 0 / 440.6 MB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01744, allocations: 8.062 kB / 440.6 MB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.01766, allocations: 307.4 kB / 440.9 MB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.0177, allocations: 35.83 kB / 441 MB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.01772, allocations: 0 / 441 MB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.01779, allocations: 11.98 kB / 441 MB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.01781, allocations: 11.89 kB / 441 MB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.01783, allocations: 8 kB / 441 MB, free: 6.031 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.997e-05/0.01787, allocations: 45.06 kB / 441 MB, free: 5.984 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01787, allocations: 0 / 441 MB, free: 5.984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.01807, allocations: 68 kB / 441.1 MB, free: 5.918 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0001821/0.01825, allocations: 92.38 kB / 441.2 MB, free: 5.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000366/0.01862, allocations: 271.1 kB / 441.5 MB, free: 5.539 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.01863, allocations: 7.938 kB / 441.5 MB, free: 5.531 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/0.01869, allocations: 53.2 kB / 441.5 MB, free: 5.477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.01892, allocations: 39.98 kB / 441.6 MB, free: 5.438 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009031/0.01982, allocations: 0.5313 MB / 442.1 MB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.49e-05/0.01989, allocations: 100.3 kB / 442.2 MB, free: 4.746 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.297e-05/0.01996, allocations: 21.95 kB / 442.2 MB, free: 4.727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.02007, allocations: 83.34 kB / 442.3 MB, free: 4.645 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02007, allocations: 0 / 442.3 MB, free: 4.645 MB / 410.7 MB Notification: Performance of Templates: time 0.005016/0.02508, allocations: 2.967 MB / 445.3 MB, free: 1.684 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.485809029545635]