Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001265/0.001265, allocations: 96.42 kB / 20.45 MB, free: 1.262 MB / 14.72 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.001469/0.001469, allocations: 214.1 kB / 23.75 MB, free: 4.445 MB / 14.72 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.9872/0.9872, allocations: 149.9 MB / 463.8 MB, free: 10.38 MB / 366.1 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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 64.23 kB / 0.6423 GB, free: 9.719 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1817, allocations: 89.18 MB / 0.7294 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005129/0.1869, allocations: 3.22 MB / 0.7325 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003562/0.1904, allocations: 1.967 MB / 0.7344 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.1906, allocations: 7.938 kB / 0.7345 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009993/0.1916, allocations: 306.8 kB / 0.7347 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005614/0.1921, allocations: 234.9 kB / 0.735 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007134/0.1929, allocations: 288.3 kB / 0.7352 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004923/0.1934, allocations: 418.6 kB / 0.7356 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.1937, allocations: 160.3 kB / 0.7358 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.194, allocations: 171.5 kB / 0.736 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.1944, allocations: 203.2 kB / 0.7362 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.1944, allocations: 24 kB / 0.7362 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.1949, allocations: 239.6 kB / 0.7364 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.195, allocations: 127.6 kB / 0.7365 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1951, allocations: 131.4 kB / 0.7367 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006365/0.1958, allocations: 490.2 kB / 0.7371 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1958, allocations: 0 / 0.7371 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1958, allocations: 0 / 0.7371 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.1958, allocations: 0 / 0.7371 GB, free: 8.648 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001104/0.1969, allocations: 0.5361 MB / 0.7376 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1969, allocations: 8.031 kB / 0.7377 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009421/0.1979, allocations: 120.6 kB / 0.7378 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.1983, allocations: 226.7 kB / 0.738 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.1983, allocations: 12.88 kB / 0.738 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.1985, allocations: 32.73 kB / 0.738 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.1993, allocations: 0.5297 MB / 0.7385 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1993, allocations: 0 / 0.7385 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.1993, allocations: 8 kB / 0.7386 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001627/0.1995, allocations: 40.47 kB / 0.7386 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006819/0.2002, allocations: 365.6 kB / 0.7389 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.2027, allocations: 1.602 MB / 0.7405 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/0.2032, allocations: 246.3 kB / 0.7407 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.2034, allocations: 148.8 kB / 0.7409 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.2034, allocations: 0 / 0.7409 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.2034, allocations: 42.55 kB / 0.7409 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.2034, allocations: 0 / 0.7409 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.001796/0.2052, allocations: 0.9096 MB / 0.7418 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.2053, allocations: 59.34 kB / 0.7419 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.2056, allocations: 250.9 kB / 0.7421 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.2056, allocations: 25.7 kB / 0.7421 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.2058, allocations: 192.4 kB / 0.7423 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.811e-05/0.2059, allocations: 95.2 kB / 0.7424 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.206, allocations: 81.62 kB / 0.7425 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2061, allocations: 330.8 kB / 0.7428 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.2064, allocations: 159.9 kB / 0.743 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.2068, allocations: 237.6 kB / 0.7432 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/0.2074, allocations: 410.8 kB / 0.7436 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.2074, allocations: 4 kB / 0.7436 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00121/0.2086, allocations: 0.5894 MB / 0.7441 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2087, allocations: 8 kB / 0.7442 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2087, allocations: 0 / 0.7442 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006879/0.2093, allocations: 193 kB / 0.7443 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.2097, allocations: 67.89 kB / 0.7444 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.2127, allocations: 2.353 MB / 0.7467 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.2131, allocations: 23.97 kB / 0.7467 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.2132, allocations: 16 kB / 0.7467 GB, free: 14.35 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.2134, allocations: 165.7 kB / 0.7469 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.2134, allocations: 23.8 kB / 0.7469 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005843/0.214, allocations: 355.3 kB / 0.7473 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.214, allocations: 4 kB / 0.7473 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.214, allocations: 4.062 kB / 0.7473 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.214, allocations: 0 / 0.7473 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.2151, allocations: 0.7087 MB / 0.748 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.2151, allocations: 7.938 kB / 0.748 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.2155, allocations: 71.94 kB / 0.748 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.2155, allocations: 4 kB / 0.748 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.2156, allocations: 7.938 kB / 0.748 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.2156, allocations: 7.984 kB / 0.7481 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2156, allocations: 0 / 0.7481 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.2164, allocations: 0.6135 MB / 0.7487 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.2165, allocations: 51.88 kB / 0.7487 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.2166, allocations: 11.98 kB / 0.7487 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.2168, allocations: 11.98 kB / 0.7487 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.2168, allocations: 19.91 kB / 0.7487 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.2169, allocations: 8 kB / 0.7488 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00023/0.2171, allocations: 172.1 kB / 0.7489 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2171, allocations: 0 / 0.7489 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004545/0.2176, allocations: 92 kB / 0.749 GB, free: 11.95 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * Single equations (assignments): 24 * 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.0001834/0.2177, allocations: 111.2 kB / 0.7491 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.2188, allocations: 0.5065 MB / 0.7496 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2188, allocations: 4.125 kB / 0.7496 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.219, allocations: 139.9 kB / 0.7497 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.2195, allocations: 46.88 kB / 0.7498 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.2211, allocations: 0.8905 MB / 0.7507 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.2213, allocations: 189.8 kB / 0.7508 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.2214, allocations: 27.42 kB / 0.7509 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.2214, allocations: 4 kB / 0.7509 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of Templates: time 0.007722/0.2292, allocations: 4.599 MB / 0.7554 GB, free: 5.371 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.908737970981747] Failed to read output from testmodel.py, exit status != 0: 0.2384253409691155 0.552522292 0.354069966 Calling exit ...