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.001237/0.001237, allocations: 80.77 kB / 19.94 MB, free: 1.77 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.001328/0.001328, allocations: 169.3 kB / 23.22 MB, free: 4.887 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.391/1.391, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 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.8989/0.8989, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5547 GB, free: 2.641 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.121e-05, allocations: 5.234 kB / 0.5547 GB, free: 2.637 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004946/0.004977, allocations: 3.193 MB / 0.5578 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003423/0.008399, allocations: 1.963 MB / 0.5597 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.00854, allocations: 11.94 kB / 0.5597 GB, free: 13.45 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009731/0.009513, allocations: 298.6 kB / 0.56 GB, free: 13.15 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005329/0.01005, allocations: 242.6 kB / 0.5602 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007046/0.01075, allocations: 294.4 kB / 0.5605 GB, free: 12.63 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004917/0.01124, allocations: 422.5 kB / 0.5609 GB, free: 12.21 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.01156, allocations: 165.3 kB / 0.5611 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.0119, allocations: 231.4 kB / 0.5613 GB, free: 11.83 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003415/0.01224, allocations: 183.5 kB / 0.5615 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.01229, allocations: 31.94 kB / 0.5615 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.01269, allocations: 243.4 kB / 0.5617 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.01284, allocations: 131.6 kB / 0.5619 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.01298, allocations: 99.8 kB / 0.562 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006321/0.01361, allocations: 0.5101 MB / 0.5625 GB, free: 10.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.01362, allocations: 0 / 0.5625 GB, free: 10.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01362, allocations: 0 / 0.5625 GB, free: 10.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.01362, allocations: 0 / 0.5625 GB, free: 10.64 MB / 478.1 MB 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.00105/0.01467, allocations: 0.5284 MB / 0.563 GB, free: 10.08 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.0147, allocations: 12.62 kB / 0.563 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009676/0.01567, allocations: 120.6 kB / 0.5631 GB, free: 9.953 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.01603, allocations: 214 kB / 0.5633 GB, free: 9.715 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.01606, allocations: 32.8 kB / 0.5633 GB, free: 9.684 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.01618, allocations: 36.69 kB / 0.5634 GB, free: 9.648 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007805/0.01696, allocations: 0.5186 MB / 0.5639 GB, free: 9.078 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.01698, allocations: 4.172 kB / 0.5639 GB, free: 9.074 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/0.01702, allocations: 15.92 kB / 0.5639 GB, free: 9.059 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.01716, allocations: 44.34 kB / 0.5639 GB, free: 9.016 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.01781, allocations: 365.7 kB / 0.5643 GB, free: 8.66 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.02015, allocations: 1.582 MB / 0.5658 GB, free: 7.016 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.0206, allocations: 241.1 kB / 0.5661 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.02081, allocations: 148.7 kB / 0.5662 GB, free: 6.625 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.02083, allocations: 8 kB / 0.5662 GB, free: 6.617 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.02086, allocations: 38.56 kB / 0.5663 GB, free: 6.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.02086, allocations: 0 / 0.5663 GB, free: 6.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=23): time 0.001784/0.02265, allocations: 0.9062 MB / 0.5671 GB, free: 5.637 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.02269, allocations: 59.34 kB / 0.5672 GB, free: 5.566 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.023, allocations: 251.1 kB / 0.5674 GB, free: 5.312 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.02303, allocations: 29.7 kB / 0.5675 GB, free: 5.277 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.02316, allocations: 200.3 kB / 0.5677 GB, free: 5.078 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.02323, allocations: 75.34 kB / 0.5677 GB, free: 5.004 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.02337, allocations: 85.56 kB / 0.5678 GB, free: 4.914 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.02351, allocations: 330.8 kB / 0.5681 GB, free: 4.582 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.02381, allocations: 155.9 kB / 0.5683 GB, free: 4.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.02417, allocations: 237.6 kB / 0.5685 GB, free: 4.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.02477, allocations: 410.8 kB / 0.5689 GB, free: 3.727 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.02477, allocations: 4 kB / 0.5689 GB, free: 3.723 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001235/0.026, allocations: 0.5936 MB / 0.5695 GB, free: 3.121 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.02602, allocations: 8 kB / 0.5695 GB, free: 3.113 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.02603, allocations: 4 kB / 0.5695 GB, free: 3.109 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006965/0.02672, allocations: 188.6 kB / 0.5697 GB, free: 2.922 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.02704, allocations: 67.89 kB / 0.5697 GB, free: 2.855 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.03, allocations: 2.35 MB / 0.572 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.03037, allocations: 23.97 kB / 0.572 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.0304, allocations: 12 kB / 0.5721 GB, free: 372 kB / 478.1 MB 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.0001902/0.03059, allocations: 173.6 kB / 0.5722 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.03065, allocations: 27.92 kB / 0.5722 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005693/0.03122, allocations: 351.2 kB / 0.5726 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.03123, allocations: 4 kB / 0.5726 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.03123, allocations: 3.938 kB / 0.5726 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.03123, allocations: 0 / 0.5726 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.03226, allocations: 0.7026 MB / 0.5733 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.03226, allocations: 0 / 0.5733 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.03266, allocations: 79.88 kB / 0.5734 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.03267, allocations: 0 / 0.5734 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.03269, allocations: 16 kB / 0.5734 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.0327, allocations: 0 / 0.5734 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0327, allocations: 0 / 0.5734 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008027/0.0335, allocations: 0.6104 MB / 0.574 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.03362, allocations: 51.86 kB / 0.574 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.03367, allocations: 11.95 kB / 0.574 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.03391, allocations: 11.97 kB / 0.574 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.03396, allocations: 15.98 kB / 0.5741 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.03398, allocations: 7.984 kB / 0.5741 GB, free: 14.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.03421, allocations: 180.1 kB / 0.5742 GB, free: 14.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03421, allocations: 0 / 0.5742 GB, free: 14.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.03461, allocations: 88 kB / 0.5743 GB, free: 13.97 MB / 494.1 MB 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.0001631/0.03478, allocations: 111.2 kB / 0.5744 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009418/0.03572, allocations: 0.5179 MB / 0.5749 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.03572, allocations: 0 / 0.5749 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.03592, allocations: 135.8 kB / 0.5751 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.03635, allocations: 60.28 kB / 0.5751 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.03777, allocations: 0.7313 MB / 0.5758 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.03797, allocations: 193.8 kB / 0.576 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.03817, allocations: 74.23 kB / 0.5761 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/0.03826, allocations: 20.5 kB / 0.5761 GB, free: 12.07 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.03826, allocations: 4 kB / 0.5761 GB, free: 12.07 MB / 494.1 MB Notification: Performance of Templates: time 0.008519/0.04678, allocations: 4.161 MB / 0.5802 GB, free: 7.973 MB / 494.1 MB " [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: 5.297723092138767] Failed to read output from testmodel.py, exit status != 0: 0.054834239184856415 0.068841793 0.052292291000000005 Calling exit ...