Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.0009877/0.0009877, 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.001289/0.001289, 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.125/1.125, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.6452/0.6452, allocations: 115 MB / 376 MB, free: 7.637 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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 481.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.775e-05, allocations: 3.594 kB / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003348/0.003376, allocations: 3.109 MB / 484.6 MB, free: 9.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.005673, allocations: 1.919 MB / 486.5 MB, free: 8.781 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.005802, allocations: 8.719 kB / 486.5 MB, free: 8.777 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006733/0.006476, allocations: 241.5 kB / 486.8 MB, free: 8.648 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005762/0.007052, allocations: 230.4 kB / 487 MB, free: 8.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.007551, allocations: 261.9 kB / 487.3 MB, free: 8.395 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.0079, allocations: 407.8 kB / 487.7 MB, free: 8.211 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.008195, allocations: 177.9 kB / 487.8 MB, free: 8.129 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.008487, allocations: 231 kB / 488.1 MB, free: 8.031 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.008741, allocations: 170.1 kB / 488.2 MB, free: 7.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.008781, allocations: 30.8 kB / 488.3 MB, free: 7.977 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.009143, allocations: 269.8 kB / 488.5 MB, free: 7.895 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.772e-05/0.009241, allocations: 108.3 kB / 488.6 MB, free: 7.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.009348, allocations: 100.1 kB / 488.7 MB, free: 7.797 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.009806, allocations: 418.9 kB / 489.1 MB, free: 7.633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.00981, allocations: 1.344 kB / 489.1 MB, free: 7.633 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.009811, allocations: 1.875 kB / 489.1 MB, free: 7.633 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.009818, allocations: 0 / 489.1 MB, free: 7.633 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008154/0.01063, allocations: 0.6686 MB / 489.8 MB, free: 7.078 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.01067, allocations: 9.312 kB / 489.8 MB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007167/0.01139, allocations: 174.8 kB / 490 MB, free: 7.035 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.01167, allocations: 235.2 kB / 490.2 MB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.01169, allocations: 20.92 kB / 490.2 MB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.01174, allocations: 18.62 kB / 490.2 MB, free: 6.832 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.0122, allocations: 349.5 kB / 490.6 MB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.01221, allocations: 4.125 kB / 490.6 MB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.01224, allocations: 7.875 kB / 490.6 MB, free: 6.609 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/0.01228, allocations: 33.67 kB / 490.6 MB, free: 6.598 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.01255, allocations: 140.9 kB / 490.8 MB, free: 6.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.01384, allocations: 1.489 MB / 492.3 MB, free: 21.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/0.01436, allocations: 271.9 kB / 492.5 MB, free: 21.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.01448, allocations: 71.5 kB / 492.6 MB, free: 21.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.01458, allocations: 14.3 kB / 492.6 MB, free: 21.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.01485, allocations: 200.4 kB / 492.8 MB, free: 21.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.944e-06/0.01485, allocations: 0 / 492.8 MB, free: 21.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008899/0.01574, allocations: 377.3 kB / 493.2 MB, free: 20.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.01577, allocations: 84.39 kB / 493.3 MB, free: 20.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.01594, allocations: 278.6 kB / 493.5 MB, free: 20.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.01597, allocations: 34.83 kB / 493.6 MB, free: 20.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.01606, allocations: 213.9 kB / 493.8 MB, free: 20.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.01611, allocations: 93.53 kB / 493.9 MB, free: 20.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.0162, allocations: 72.91 kB / 493.9 MB, free: 20.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.01634, allocations: 0.5036 MB / 494.4 MB, free: 19.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.01648, allocations: 103.8 kB / 494.5 MB, free: 19.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.01665, allocations: 194.8 kB / 494.7 MB, free: 19.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.01696, allocations: 279.6 kB / 495 MB, free: 19.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01696, allocations: 2.312 kB / 495 MB, free: 19.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004971/0.01746, allocations: 384.4 kB / 495.4 MB, free: 19.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.01749, allocations: 32.45 kB / 495.4 MB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.0175, allocations: 2.719 kB / 495.4 MB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/0.01771, allocations: 50.25 kB / 495.5 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.01795, allocations: 82.25 kB / 495.5 MB, free: 19.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.01899, allocations: 1.853 MB / 497.4 MB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.01918, allocations: 50.25 kB / 497.4 MB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.0192, allocations: 13.17 kB / 497.5 MB, free: 17.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001905/0.01939, allocations: 220.8 kB / 497.7 MB, free: 17.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001584/0.01955, allocations: 193.3 kB / 497.9 MB, free: 16.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002849/0.01984, allocations: 281 kB / 498.1 MB, free: 16.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/0.01984, allocations: 1.312 kB / 498.1 MB, free: 16.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005187/0.02036, allocations: 368.9 kB / 498.5 MB, free: 16.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.02039, allocations: 36.58 kB / 498.5 MB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.0204, allocations: 2.406 kB / 498.5 MB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001537/0.02055, allocations: 44.81 kB / 498.6 MB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.02079, allocations: 88.88 kB / 498.7 MB, free: 16.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.02186, allocations: 1.849 MB / 0.4888 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.02204, allocations: 40.83 kB / 0.4888 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.02206, allocations: 13.53 kB / 0.4888 GB, free: 14.56 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.02226, allocations: 292.8 kB / 0.4891 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.02231, allocations: 38.62 kB / 0.4892 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.02276, allocations: 279.5 kB / 0.4894 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.02276, allocations: 4.094 kB / 0.4894 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.02277, allocations: 5.375 kB / 0.4894 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.02277, allocations: 3.328 kB / 0.4894 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.02319, allocations: 470.9 kB / 0.4899 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.0232, allocations: 1.375 kB / 0.4899 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.02338, allocations: 68.67 kB / 0.4899 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.0235, allocations: 37.88 kB / 0.49 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.02352, allocations: 7.469 kB / 0.49 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008058/0.02432, allocations: 1.796 MB / 0.4917 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.02432, allocations: 1.844 kB / 0.4917 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.02472, allocations: 414.8 kB / 0.4921 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.0248, allocations: 54.59 kB / 0.4922 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.02483, allocations: 11.16 kB / 0.4922 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.02497, allocations: 30.47 kB / 0.4922 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.02506, allocations: 35.19 kB / 0.4923 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.02508, allocations: 6.656 kB / 0.4923 GB, free: 11.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.0252, allocations: 205.8 kB / 0.4925 GB, free: 11.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0252, allocations: 3.938 kB / 0.4925 GB, free: 11.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005044/0.02571, allocations: 135.2 kB / 0.4926 GB, free: 11.42 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: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001678/0.02587, allocations: 103.8 kB / 0.4927 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009787/0.02685, allocations: 0.8513 MB / 0.4935 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.02686, allocations: 1.719 kB / 0.4935 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.02708, allocations: 282.3 kB / 0.4938 GB, free: 10.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.02741, allocations: 59.73 kB / 0.4939 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.0285, allocations: 0.5569 MB / 0.4944 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.058e-05/0.02858, allocations: 108.9 kB / 0.4945 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001968/0.02878, allocations: 78.64 kB / 0.4946 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.906e-05/0.02887, allocations: 29.06 kB / 0.4946 GB, free: 10.03 MB / 426.7 MB Notification: Performance of SimCode: time 8.91e-07/0.02887, allocations: 0 / 0.4946 GB, free: 10.03 MB / 426.7 MB Notification: Performance of Templates: time 0.01037/0.03925, allocations: 5.194 MB / 0.4997 GB, free: 9.008 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.918022571830079]