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.0009081/0.0009081, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001023/0.001023, allocations: 169 kB / 24.05 MB, free: 452 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.074/1.074, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.6008/0.6008, allocations: 115 MB / 376 MB, free: 7.527 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.353e-06/1.353e-06, allocations: 0 / 482 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.349e-05, allocations: 2.312 kB / 482 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.006418/0.006441, allocations: 2.512 MB / 484.5 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005404/0.01184, allocations: 1.408 MB / 485.9 MB, free: 9.184 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.01205, allocations: 9.281 kB / 485.9 MB, free: 9.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.01256, allocations: 86.47 kB / 486 MB, free: 9.133 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004379/0.013, allocations: 194.1 kB / 486.2 MB, free: 9.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003627/0.01662, allocations: 225.4 kB / 486.4 MB, free: 8.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005629/0.01719, allocations: 412.1 kB / 486.8 MB, free: 8.723 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.01752, allocations: 178.7 kB / 487 MB, free: 8.641 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004012/0.01792, allocations: 228.4 kB / 487.2 MB, free: 8.547 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.01828, allocations: 171.3 kB / 487.4 MB, free: 8.496 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.01834, allocations: 30.69 kB / 487.4 MB, free: 8.492 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004114/0.01875, allocations: 184.6 kB / 487.6 MB, free: 8.445 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.01886, allocations: 115.3 kB / 487.7 MB, free: 8.383 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.01896, allocations: 100.7 kB / 487.8 MB, free: 8.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.02048, allocations: 366.6 kB / 488.1 MB, free: 8.191 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.02049, allocations: 0.6875 kB / 488.1 MB, free: 8.191 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02049, allocations: 0 / 488.1 MB, free: 8.191 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.0205, allocations: 2.562 kB / 488.1 MB, free: 8.191 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.0009093/0.02141, allocations: 0.6482 MB / 488.8 MB, free: 7.641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.02145, allocations: 9.844 kB / 488.8 MB, free: 7.641 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008108/0.02226, allocations: 160.8 kB / 489 MB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.02256, allocations: 229 kB / 489.2 MB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.02258, allocations: 22.02 kB / 489.2 MB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.02263, allocations: 19.16 kB / 489.2 MB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.02307, allocations: 329.1 kB / 489.5 MB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.02309, allocations: 192 / 489.5 MB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.02312, allocations: 19.91 kB / 489.6 MB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.02316, allocations: 25.98 kB / 489.6 MB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.02341, allocations: 113.7 kB / 489.7 MB, free: 7.156 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.02479, allocations: 1.419 MB / 491.1 MB, free: 21.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.02529, allocations: 227.2 kB / 491.3 MB, free: 21.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.02541, allocations: 62.22 kB / 491.4 MB, free: 21.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-05/0.02551, allocations: 17.19 kB / 491.4 MB, free: 21.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.02577, allocations: 188.5 kB / 491.6 MB, free: 21.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.734e-06/0.02577, allocations: 1.531 kB / 491.6 MB, free: 21.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008006/0.02657, allocations: 287.5 kB / 491.9 MB, free: 21.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.0266, allocations: 86.08 kB / 492 MB, free: 21.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.02677, allocations: 274.1 kB / 492.2 MB, free: 21.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.0268, allocations: 31.73 kB / 492.3 MB, free: 21.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/0.0269, allocations: 215.5 kB / 492.5 MB, free: 21.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/0.02696, allocations: 101.5 kB / 492.6 MB, free: 20.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.02706, allocations: 73.92 kB / 492.6 MB, free: 20.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.0272, allocations: 0.5083 MB / 493.2 MB, free: 20.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.02733, allocations: 90.59 kB / 493.2 MB, free: 20.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.02749, allocations: 185.1 kB / 493.4 MB, free: 20.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.02776, allocations: 257.3 kB / 493.7 MB, free: 19.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.02777, allocations: 0 / 493.7 MB, free: 19.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005242/0.02829, allocations: 349.1 kB / 494 MB, free: 19.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.02832, allocations: 35.3 kB / 494 MB, free: 19.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.02833, allocations: 2.906 kB / 494.1 MB, free: 19.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.02851, allocations: 43.77 kB / 494.1 MB, free: 19.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.02878, allocations: 72.42 kB / 494.2 MB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.02986, allocations: 1.831 MB / 496 MB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.03008, allocations: 28.77 kB / 496 MB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.03011, allocations: 15.97 kB / 496 MB, free: 17.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001841/0.03029, allocations: 203.8 kB / 496.2 MB, free: 17.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001525/0.03045, allocations: 183.5 kB / 496.4 MB, free: 17.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002676/0.03071, allocations: 257 kB / 496.7 MB, free: 17.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.729e-06/0.03072, allocations: 1.125 kB / 496.7 MB, free: 17.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005054/0.03122, allocations: 334.4 kB / 497 MB, free: 17.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.03125, allocations: 31.98 kB / 497 MB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.03126, allocations: 2.531 kB / 497 MB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001182/0.03137, allocations: 41.05 kB / 497.1 MB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.03156, allocations: 71.64 kB / 497.1 MB, free: 17.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008403/0.0324, allocations: 1.831 MB / 499 MB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.03258, allocations: 30.08 kB / 499 MB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.0326, allocations: 16.89 kB / 499 MB, free: 15.38 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.000134/0.03274, allocations: 286.4 kB / 499.3 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.03279, allocations: 41.23 kB / 499.3 MB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.03319, allocations: 259.1 kB / 499.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.0332, allocations: 4.062 kB / 499.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.0332, allocations: 0 / 499.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.03321, allocations: 4.703 kB / 499.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.0336, allocations: 431 kB / 0.4883 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.0336, allocations: 1.219 kB / 0.4883 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.03378, allocations: 49.89 kB / 0.4883 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.0339, allocations: 43.39 kB / 0.4884 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.03392, allocations: 2.719 kB / 0.4884 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007637/0.03468, allocations: 1.764 MB / 0.4901 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.03468, allocations: 6.188 kB / 0.4901 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.03497, allocations: 391.5 kB / 0.4905 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.03504, allocations: 60.19 kB / 0.4906 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.03506, allocations: 7.469 kB / 0.4906 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.03518, allocations: 19.2 kB / 0.4906 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.03523, allocations: 26.81 kB / 0.4906 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.03525, allocations: 13.77 kB / 0.4906 GB, free: 12.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.881e-05/0.03533, allocations: 192.4 kB / 0.4908 GB, free: 12.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03533, allocations: 0 / 0.4908 GB, free: 12.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003859/0.03572, allocations: 132.8 kB / 0.4909 GB, free: 12.33 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.0001579/0.03588, allocations: 106.8 kB / 0.491 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006593/0.03654, allocations: 0.8197 MB / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.03654, allocations: 1.094 kB / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.03671, allocations: 269 kB / 0.4921 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.03699, allocations: 74.02 kB / 0.4922 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00078/0.03777, allocations: 0.5458 MB / 0.4927 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.423e-05/0.03784, allocations: 109.4 kB / 0.4928 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.03797, allocations: 41.11 kB / 0.4928 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.03812, allocations: 128.4 kB / 0.493 GB, free: 10.88 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.03812, allocations: 0 / 0.493 GB, free: 10.88 MB / 426.7 MB Notification: Performance of Templates: time 0.008112/0.04624, allocations: 5.533 MB / 0.4984 GB, free: 10.03 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.727979188784957]