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.0007406/0.0007406, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.001785, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0007202/0.0007202, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009746/0.001695, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9977/0.9977, allocations: 177.1 MB / 189.6 MB, free: 3.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1531/1.151, allocations: 53.65 MB / 243.2 MB, free: 2.391 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6543/0.6543, allocations: 119.1 MB / 363.1 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07457/0.7289, allocations: 37.86 MB / 400.9 MB, free: 15.31 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.713e-06/1.713e-06, allocations: 0 / 402.2 MB, free: 14.02 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.791e-05, allocations: 6.312 kB / 402.2 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004796/0.004824, allocations: 2.561 MB / 404.8 MB, free: 11.44 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.007338, allocations: 1.273 MB / 406.1 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.007531, allocations: 7.938 kB / 406.1 MB, free: 10.15 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005167/0.008047, allocations: 119.4 kB / 406.2 MB, free: 10.03 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.008573, allocations: 210.8 kB / 406.4 MB, free: 9.824 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.00907, allocations: 159.5 kB / 406.5 MB, free: 9.668 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004694/0.009539, allocations: 358.8 kB / 406.9 MB, free: 9.316 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.00987, allocations: 170.3 kB / 407.1 MB, free: 9.145 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.0102, allocations: 215.5 kB / 407.3 MB, free: 8.934 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.01052, allocations: 167.5 kB / 407.4 MB, free: 8.77 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.01055, allocations: 20 kB / 407.4 MB, free: 8.75 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.0109, allocations: 171.6 kB / 407.6 MB, free: 8.582 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.01102, allocations: 95.77 kB / 407.7 MB, free: 8.488 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.889e-05/0.01112, allocations: 79.81 kB / 407.8 MB, free: 8.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.01153, allocations: 263.2 kB / 408 MB, free: 8.152 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.847e-05/0.01155, allocations: 0 / 408 MB, free: 8.152 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01155, allocations: 3.938 kB / 408 MB, free: 8.148 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.01157, allocations: 0 / 408 MB, free: 8.148 MB / 394.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.0008091/0.01238, allocations: 0.5036 MB / 408.6 MB, free: 7.621 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.01242, allocations: 11.89 kB / 408.6 MB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006983/0.01312, allocations: 197.8 kB / 408.8 MB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.0134, allocations: 189.3 kB / 408.9 MB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.01342, allocations: 20.86 kB / 409 MB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.01352, allocations: 24.56 kB / 409 MB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.01389, allocations: 283.7 kB / 409.3 MB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.01391, allocations: 4.188 kB / 409.3 MB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.01394, allocations: 16.11 kB / 409.3 MB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.265e-05/0.01403, allocations: 28.48 kB / 409.3 MB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.01422, allocations: 79.39 kB / 409.4 MB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009308/0.01515, allocations: 0.838 MB / 410.2 MB, free: 5.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.01534, allocations: 160.1 kB / 410.4 MB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.01538, allocations: 32.86 kB / 410.4 MB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.512e-05/0.01546, allocations: 11.98 kB / 410.4 MB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.01549, allocations: 38.56 kB / 410.5 MB, free: 5.574 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 2.204e-06/0.01549, allocations: 0 / 410.5 MB, free: 5.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005621/0.01605, allocations: 368 kB / 410.8 MB, free: 5.184 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.01608, allocations: 55.41 kB / 410.9 MB, free: 5.117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.01617, allocations: 162.6 kB / 411 MB, free: 4.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.01619, allocations: 37.7 kB / 411.1 MB, free: 4.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.01625, allocations: 172.4 kB / 411.2 MB, free: 4.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.01628, allocations: 63.42 kB / 411.3 MB, free: 4.668 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.01634, allocations: 61.55 kB / 411.4 MB, free: 4.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.01642, allocations: 330.8 kB / 411.7 MB, free: 4.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.003e-05/0.01647, allocations: 35.98 kB / 411.7 MB, free: 4.234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.01653, allocations: 85.94 kB / 411.8 MB, free: 4.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.01666, allocations: 139.9 kB / 411.9 MB, free: 3.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01666, allocations: 0 / 411.9 MB, free: 3.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002793/0.01694, allocations: 201 kB / 412.1 MB, free: 3.766 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01695, allocations: 4 kB / 412.1 MB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.01696, allocations: 4 kB / 412.1 MB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003131/0.01727, allocations: 103.8 kB / 412.2 MB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.0174, allocations: 55.91 kB / 412.3 MB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008831/0.01829, allocations: 1.351 MB / 413.7 MB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.178e-05/0.01837, allocations: 8 kB / 413.7 MB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.01839, allocations: 7.984 kB / 413.7 MB, free: 2.129 MB / 394.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 8.76e-05/0.01848, allocations: 124.6 kB / 413.8 MB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.01851, allocations: 19.98 kB / 413.8 MB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.01869, allocations: 149.6 kB / 414 MB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.0187, allocations: 0 / 414 MB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.0187, allocations: 4.031 kB / 414 MB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.0187, allocations: 3.938 kB / 414 MB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.01905, allocations: 408.2 kB / 414.4 MB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01905, allocations: 0 / 414.4 MB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.01925, allocations: 63.94 kB / 414.4 MB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.01929, allocations: 31.83 kB / 414.5 MB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01929, allocations: 0 / 414.5 MB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.01931, allocations: 8 kB / 414.5 MB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01931, allocations: 8 kB / 414.5 MB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01931, allocations: 3.984 kB / 414.5 MB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.01953, allocations: 307.8 kB / 414.8 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.01955, allocations: 12.06 kB / 414.8 MB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.01962, allocations: 4 kB / 414.8 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.01964, allocations: 15.97 kB / 414.8 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01965, allocations: 0 / 414.8 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.081e-05/0.01969, allocations: 53.8 kB / 414.9 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01969, allocations: 0 / 414.9 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002087/0.0199, allocations: 67.94 kB / 414.9 MB, free: 0.793 MB / 394.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.0001364/0.02003, allocations: 100.3 kB / 415 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003221/0.02035, allocations: 267.1 kB / 415.3 MB, free: 420 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.02036, allocations: 4 kB / 415.3 MB, free: 416 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.02041, allocations: 49.16 kB / 415.3 MB, free: 364 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.02063, allocations: 57.75 kB / 415.4 MB, free: 312 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.02291, allocations: 0.5197 MB / 415.9 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.252e-05/0.02297, allocations: 100.3 kB / 416 MB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.02305, allocations: 21.95 kB / 416 MB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.02316, allocations: 83.36 kB / 416.1 MB, free: 15.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.452e-06/0.02316, allocations: 0 / 416.1 MB, free: 15.52 MB / 410.7 MB Notification: Performance of Templates: time 0.005128/0.02829, allocations: 3.008 MB / 419.1 MB, free: 12.56 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.361400870606303]