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.0008508/0.0008508, 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.0009607/0.0009607, 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 0.98/0.98, 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.6436/0.6436, 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.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.623e-06/1.623e-06, allocations: 0 / 428.7 MB, free: 2.812 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.444e-05, allocations: 2.312 kB / 428.7 MB, free: 2.809 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.00353/0.003555, allocations: 2.506 MB / 431.2 MB, free: 292 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.005651, allocations: 1.452 MB / 432.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.005786, allocations: 7.938 kB / 432.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.006194, allocations: 87.45 kB / 432.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.006568, allocations: 190.8 kB / 432.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.007053, allocations: 223.3 kB / 433.2 MB, free: 14.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.007524, allocations: 418.5 kB / 433.6 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.007803, allocations: 184.1 kB / 433.8 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.00814, allocations: 227.5 kB / 434 MB, free: 13.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.008422, allocations: 167.5 kB / 434.1 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.008461, allocations: 32 kB / 434.2 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.00875, allocations: 191.5 kB / 434.4 MB, free: 13.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.772e-05/0.008848, allocations: 107.7 kB / 434.5 MB, free: 13.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.449e-05/0.008942, allocations: 107.7 kB / 434.6 MB, free: 12.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.009365, allocations: 362.8 kB / 434.9 MB, free: 12.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.009368, allocations: 0 / 434.9 MB, free: 12.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.009369, allocations: 0 / 434.9 MB, free: 12.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.00938, allocations: 0 / 434.9 MB, free: 12.56 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.0006737/0.01005, allocations: 0.5248 MB / 435.4 MB, free: 12.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.01009, allocations: 8.031 kB / 435.5 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005863/0.01067, allocations: 152.7 kB / 435.6 MB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.01092, allocations: 212.9 kB / 435.8 MB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.01094, allocations: 16.88 kB / 435.8 MB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.01098, allocations: 24.31 kB / 435.9 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.01138, allocations: 316.3 kB / 436.2 MB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.0114, allocations: 4.125 kB / 436.2 MB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.01142, allocations: 8.375 kB / 436.2 MB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.01145, allocations: 28.3 kB / 436.2 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.01161, allocations: 97 kB / 436.3 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009632/0.01258, allocations: 0.9933 MB / 437.3 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.01295, allocations: 242.6 kB / 437.5 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.747e-05/0.01302, allocations: 57.56 kB / 437.6 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.516e-05/0.0131, allocations: 19.98 kB / 437.6 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.0133, allocations: 187 kB / 437.8 MB, free: 9.508 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.192e-06/0.0133, allocations: 0 / 437.8 MB, free: 9.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005628/0.01387, allocations: 247.9 kB / 438 MB, free: 9.254 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.01391, allocations: 89.05 kB / 438.1 MB, free: 9.148 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.01402, allocations: 205 kB / 438.3 MB, free: 8.938 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.01405, allocations: 37.7 kB / 438.4 MB, free: 8.895 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.01412, allocations: 156.5 kB / 438.5 MB, free: 8.734 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.01418, allocations: 95.19 kB / 438.6 MB, free: 8.641 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-05/0.01428, allocations: 69.61 kB / 438.7 MB, free: 8.566 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.01437, allocations: 334.8 kB / 439 MB, free: 8.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-05/0.01447, allocations: 70.88 kB / 439.1 MB, free: 8.152 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.01459, allocations: 154.8 kB / 439.2 MB, free: 7.965 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.01479, allocations: 209.4 kB / 439.4 MB, free: 7.723 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.0148, allocations: 0 / 439.4 MB, free: 7.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003375/0.01513, allocations: 293.1 kB / 439.7 MB, free: 7.414 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.01517, allocations: 41.62 kB / 439.7 MB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01518, allocations: 0 / 439.7 MB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.01536, allocations: 43.95 kB / 439.8 MB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.01556, allocations: 79.89 kB / 439.9 MB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000903/0.01646, allocations: 1.275 MB / 441.1 MB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.01662, allocations: 31.88 kB / 441.2 MB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.01664, allocations: 15.92 kB / 441.2 MB, free: 5.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000145/0.01678, allocations: 157 kB / 441.3 MB, free: 5.656 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000109/0.01689, allocations: 139.2 kB / 441.5 MB, free: 5.484 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001798/0.01707, allocations: 202.5 kB / 441.7 MB, free: 5.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.01707, allocations: 4 kB / 441.7 MB, free: 5.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0002836/0.01736, allocations: 280.6 kB / 442 MB, free: 4.949 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.01738, allocations: 40.98 kB / 442 MB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.01738, allocations: 0 / 442 MB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001032/0.01748, allocations: 47.86 kB / 442 MB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.01766, allocations: 71.89 kB / 442.1 MB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006541/0.01831, allocations: 1.291 MB / 443.4 MB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.01844, allocations: 31.88 kB / 443.4 MB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.01846, allocations: 20.02 kB / 443.4 MB, free: 3.336 MB / 410.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.0001072/0.01856, allocations: 196.2 kB / 443.6 MB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.0186, allocations: 23.92 kB / 443.7 MB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.0189, allocations: 223.6 kB / 443.9 MB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.0189, allocations: 4 kB / 443.9 MB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.0189, allocations: 0 / 443.9 MB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01891, allocations: 96 / 443.9 MB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.01922, allocations: 340.1 kB / 444.2 MB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.01922, allocations: 4 kB / 444.2 MB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.01936, allocations: 43.97 kB / 444.3 MB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-05/0.01945, allocations: 39.75 kB / 444.3 MB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.01946, allocations: 7.984 kB / 444.3 MB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006642/0.02013, allocations: 1.221 MB / 445.5 MB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.02013, allocations: 7.938 kB / 445.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.0204, allocations: 290.7 kB / 445.8 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.02047, allocations: 47.67 kB / 445.9 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.0205, allocations: 11.98 kB / 445.9 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.02061, allocations: 23.92 kB / 445.9 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.02067, allocations: 23.95 kB / 445.9 MB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.02069, allocations: 15.98 kB / 445.9 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.993e-05/0.02075, allocations: 70.78 kB / 446 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02075, allocations: 0 / 446 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.02109, allocations: 136 kB / 446.1 MB, free: 456 kB / 410.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.0001236/0.02121, allocations: 108.3 kB / 446.3 MB, free: 340 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1686/0.1899, allocations: 0.6696 MB / 446.9 MB, free: 26.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/0.1899, allocations: 4.094 kB / 446.9 MB, free: 26.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.1901, allocations: 210.6 kB / 447.1 MB, free: 26.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1904, allocations: 54.39 kB / 447.2 MB, free: 26.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009578/0.1914, allocations: 0.5467 MB / 447.7 MB, free: 26.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.318e-05/0.1915, allocations: 109 kB / 447.8 MB, free: 26.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000153/0.1916, allocations: 41.47 kB / 447.9 MB, free: 26.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.1918, allocations: 101 kB / 448 MB, free: 26.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.1918, allocations: 0.625 kB / 448 MB, free: 26.38 MB / 410.7 MB Notification: Performance of Templates: time 0.009543/0.2013, allocations: 5.356 MB / 453.3 MB, free: 26.08 MB / 410.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.6918710749596357]