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.0009764/0.0009764, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001079/0.001079, allocations: 170.9 kB / 24.84 MB, free: 8.855 MB / 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.115/1.115, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.5998/0.5998, allocations: 115 MB / 376.8 MB, free: 7.504 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.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.414e-05, allocations: 4.219 kB / 482.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003949/0.003973, allocations: 2.504 MB / 485.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.005647, allocations: 1.398 MB / 486.7 MB, free: 9.199 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.005767, allocations: 8.844 kB / 486.7 MB, free: 9.195 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.006152, allocations: 93.89 kB / 486.8 MB, free: 9.145 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.006578, allocations: 189.1 kB / 486.9 MB, free: 9.035 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009723/0.007551, allocations: 229.4 kB / 487.2 MB, free: 8.922 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005077/0.008058, allocations: 409 kB / 487.6 MB, free: 8.738 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.008322, allocations: 174.9 kB / 487.7 MB, free: 8.656 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/0.008625, allocations: 234 kB / 488 MB, free: 8.559 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.00888, allocations: 175.1 kB / 488.1 MB, free: 8.504 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.008921, allocations: 27.09 kB / 488.2 MB, free: 8.504 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.009213, allocations: 192.6 kB / 488.4 MB, free: 8.449 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.124e-05/0.009305, allocations: 107 kB / 488.5 MB, free: 8.395 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.493e-05/0.009399, allocations: 103.3 kB / 488.6 MB, free: 8.348 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.009806, allocations: 366.5 kB / 488.9 MB, free: 8.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.00981, allocations: 0 / 488.9 MB, free: 8.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.009811, allocations: 2 kB / 488.9 MB, free: 8.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.009817, allocations: 1.062 kB / 488.9 MB, free: 8.203 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.0007031/0.01052, allocations: 0.6533 MB / 489.6 MB, free: 7.645 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.01055, allocations: 9.844 kB / 489.6 MB, free: 7.645 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005938/0.01115, allocations: 156.5 kB / 489.7 MB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.01137, allocations: 224.3 kB / 490 MB, free: 7.418 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.01139, allocations: 19.62 kB / 490 MB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.01143, allocations: 21.64 kB / 490 MB, free: 7.402 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.01181, allocations: 325.2 kB / 490.3 MB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.01182, allocations: 1.469 kB / 490.3 MB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.01185, allocations: 12.53 kB / 490.3 MB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.01189, allocations: 28.64 kB / 490.4 MB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.01208, allocations: 118.8 kB / 490.5 MB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.01326, allocations: 1.421 MB / 491.9 MB, free: 21.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.01365, allocations: 218.2 kB / 492.1 MB, free: 21.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-05/0.01374, allocations: 72.33 kB / 492.2 MB, free: 21.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.842e-05/0.01382, allocations: 14.42 kB / 492.2 MB, free: 21.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.01404, allocations: 188.5 kB / 492.4 MB, free: 21.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.353e-06/0.01404, allocations: 1.469 kB / 492.4 MB, free: 21.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007094/0.01475, allocations: 287.1 kB / 492.7 MB, free: 21.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.01477, allocations: 86.14 kB / 492.7 MB, free: 21.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.01492, allocations: 266 kB / 493 MB, free: 21.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.01494, allocations: 36.02 kB / 493 MB, free: 21.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.01503, allocations: 215.9 kB / 493.2 MB, free: 21.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.01508, allocations: 103.8 kB / 493.3 MB, free: 20.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.458e-05/0.01516, allocations: 77.48 kB / 493.4 MB, free: 20.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.01529, allocations: 0.506 MB / 493.9 MB, free: 20.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.0154, allocations: 82.45 kB / 494 MB, free: 20.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.01553, allocations: 190.2 kB / 494.2 MB, free: 20.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.01576, allocations: 258.4 kB / 494.4 MB, free: 20 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01576, allocations: 1.25 kB / 494.5 MB, free: 20 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004382/0.0162, allocations: 352.1 kB / 494.8 MB, free: 19.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.01624, allocations: 32.8 kB / 494.8 MB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.01625, allocations: 11.47 kB / 494.8 MB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.01643, allocations: 43.3 kB / 494.9 MB, free: 19.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.01665, allocations: 70.19 kB / 494.9 MB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009153/0.01757, allocations: 1.822 MB / 496.8 MB, free: 17.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.01773, allocations: 32.22 kB / 496.8 MB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.01775, allocations: 11.38 kB / 496.8 MB, free: 17.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001417/0.01789, allocations: 205.2 kB / 497 MB, free: 17.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000114/0.01801, allocations: 184.5 kB / 497.2 MB, free: 17.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002037/0.01821, allocations: 251.8 kB / 497.4 MB, free: 17.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.01821, allocations: 0 / 497.4 MB, free: 17.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0003776/0.01859, allocations: 336.1 kB / 497.8 MB, free: 17.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.01861, allocations: 35.39 kB / 497.8 MB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.01861, allocations: 3.594 kB / 497.8 MB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.01872, allocations: 43.75 kB / 497.8 MB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.01892, allocations: 71.73 kB / 497.9 MB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007785/0.0197, allocations: 1.825 MB / 499.7 MB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.01984, allocations: 34.92 kB / 499.8 MB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.01986, allocations: 13.09 kB / 499.8 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.0001318/0.01999, allocations: 287.7 kB / 0.4884 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.02004, allocations: 46.77 kB / 0.4884 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.0204, allocations: 243.9 kB / 0.4886 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.02041, allocations: 2.625 kB / 0.4886 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.02041, allocations: 3.031 kB / 0.4886 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.02042, allocations: 0 / 0.4886 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.02077, allocations: 438.5 kB / 0.4891 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.02077, allocations: 1.344 kB / 0.4891 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.02092, allocations: 47.77 kB / 0.4891 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.903e-05/0.02102, allocations: 38.06 kB / 0.4891 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.02104, allocations: 6.688 kB / 0.4891 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008859/0.02192, allocations: 1.764 MB / 0.4909 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.02192, allocations: 9.656 kB / 0.4909 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.02224, allocations: 393.8 kB / 0.4912 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.02231, allocations: 58.91 kB / 0.4913 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.02234, allocations: 7.812 kB / 0.4913 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.02247, allocations: 18.39 kB / 0.4913 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.02253, allocations: 31.08 kB / 0.4914 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.02255, allocations: 9.562 kB / 0.4914 GB, free: 12.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.942e-05/0.02264, allocations: 191.9 kB / 0.4916 GB, free: 12.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02264, allocations: 0.6875 kB / 0.4916 GB, free: 12.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004294/0.02307, allocations: 135 kB / 0.4917 GB, free: 12.34 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.0001246/0.02319, allocations: 110.9 kB / 0.4918 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006896/0.02388, allocations: 0.8166 MB / 0.4926 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02388, allocations: 0.9688 kB / 0.4926 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.02406, allocations: 271.4 kB / 0.4928 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.02436, allocations: 64.58 kB / 0.4929 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007715/0.02513, allocations: 0.552 MB / 0.4934 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.96e-05/0.02519, allocations: 109 kB / 0.4935 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.02534, allocations: 41.44 kB / 0.4936 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.02551, allocations: 125.2 kB / 0.4937 GB, free: 10.89 MB / 426.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02551, allocations: 0 / 0.4937 GB, free: 10.89 MB / 426.7 MB Notification: Performance of Templates: time 0.008269/0.03378, allocations: 5.668 MB / 0.4992 GB, free: 9.992 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.743139697238803]