Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.000744/0.000744, allocations: 84.44 kB / 20.7 MB, free: 3.871 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.000759/0.000759, allocations: 169.9 kB / 23.96 MB, free: 0.6016 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 0.8602/0.8602, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.5524/0.5524, allocations: 114 MB / 374.7 MB, free: 8.719 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5554 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.734e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00339/0.003417, allocations: 3.025 MB / 0.5583 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.005588, allocations: 1.869 MB / 0.5602 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.005731, allocations: 7.938 kB / 0.5602 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006327/0.006363, allocations: 285.8 kB / 0.5605 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.006774, allocations: 202.8 kB / 0.5606 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.007292, allocations: 254.9 kB / 0.5609 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.007622, allocations: 330.8 kB / 0.5612 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.007896, allocations: 157 kB / 0.5614 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.008145, allocations: 191.5 kB / 0.5615 GB, free: 12 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.008375, allocations: 131.6 kB / 0.5617 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.008403, allocations: 20 kB / 0.5617 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004769/0.00888, allocations: 383 kB / 0.562 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.008975, allocations: 91.73 kB / 0.5621 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.169e-05/0.009047, allocations: 83.77 kB / 0.5622 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005557/0.009602, allocations: 0.5219 MB / 0.5627 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.009606, allocations: 4 kB / 0.5627 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.403e-06/0.009607, allocations: 0 / 0.5627 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.009614, allocations: 4 kB / 0.5627 GB, free: 10.77 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007217/0.01034, allocations: 499.5 kB / 0.5632 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.01038, allocations: 12.62 kB / 0.5632 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004608/0.01084, allocations: 112.6 kB / 0.5633 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.01111, allocations: 197.4 kB / 0.5635 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.01112, allocations: 16.88 kB / 0.5635 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.01115, allocations: 24.31 kB / 0.5636 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.01156, allocations: 397.1 kB / 0.5639 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.01157, allocations: 4.172 kB / 0.5639 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.01159, allocations: 16.31 kB / 0.564 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.01162, allocations: 28.36 kB / 0.564 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.01193, allocations: 293.8 kB / 0.5643 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.01319, allocations: 1.234 MB / 0.5655 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.01349, allocations: 241 kB / 0.5657 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.01359, allocations: 101.7 kB / 0.5658 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.067e-05/0.01364, allocations: 11.98 kB / 0.5658 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.01366, allocations: 42.5 kB / 0.5658 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.694e-06/0.01367, allocations: 0 / 0.5658 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.001472/0.01514, allocations: 0.8935 MB / 0.5667 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.01517, allocations: 81.11 kB / 0.5668 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.01533, allocations: 208 kB / 0.567 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.01535, allocations: 29.7 kB / 0.567 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.01544, allocations: 176.5 kB / 0.5672 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.01549, allocations: 79.28 kB / 0.5673 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.01556, allocations: 61.64 kB / 0.5673 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.01566, allocations: 334.8 kB / 0.5676 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.01579, allocations: 135.9 kB / 0.5678 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.01596, allocations: 218.3 kB / 0.568 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.01628, allocations: 361.2 kB / 0.5683 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01628, allocations: 0 / 0.5683 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005402/0.01682, allocations: 0.5155 MB / 0.5688 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.01684, allocations: 8 kB / 0.5688 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01685, allocations: 0 / 0.5688 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/0.01715, allocations: 147.3 kB / 0.569 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.01729, allocations: 59.91 kB / 0.569 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.0192, allocations: 3.934 MB / 0.5729 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.01931, allocations: 19.98 kB / 0.5729 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.01933, allocations: 16 kB / 0.5729 GB, free: 15.75 MB / 0.5417 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.01945, allocations: 165.7 kB / 0.5731 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.01949, allocations: 23.86 kB / 0.5731 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005301/0.02002, allocations: 470.7 kB / 0.5735 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.02002, allocations: 4 kB / 0.5735 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.02003, allocations: 3.984 kB / 0.5735 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.02003, allocations: 4 kB / 0.5736 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009012/0.02093, allocations: 0.8903 MB / 0.5744 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.02094, allocations: 8 kB / 0.5744 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.324e-05/0.021, allocations: 27.98 kB / 0.5745 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000209/0.02121, allocations: 147.2 kB / 0.5746 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.02122, allocations: 8 kB / 0.5746 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.0229, allocations: 3.898 MB / 0.5784 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.02291, allocations: 4.344 kB / 0.5784 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.02339, allocations: 0.6284 MB / 0.579 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.02345, allocations: 47.97 kB / 0.5791 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.02347, allocations: 11.94 kB / 0.5791 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.02359, allocations: 15.98 kB / 0.5791 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.02362, allocations: 27.95 kB / 0.5791 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.02364, allocations: 11.94 kB / 0.5791 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.151e-05/0.02373, allocations: 153.5 kB / 0.5793 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.02373, allocations: 0 / 0.5793 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003436/0.02407, allocations: 95.88 kB / 0.5794 GB, free: 8.707 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001724/0.02424, allocations: 145.7 kB / 0.5795 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005707/0.02481, allocations: 0.5758 MB / 0.5801 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.02482, allocations: 0 / 0.5801 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.02508, allocations: 389 kB / 0.5804 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.0254, allocations: 44.83 kB / 0.5805 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.02615, allocations: 0.6433 MB / 0.5811 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.02628, allocations: 177.1 kB / 0.5813 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.02633, allocations: 28.48 kB / 0.5813 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of SimCode: time 6.11e-07/0.02633, allocations: 0 / 0.5813 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of Templates: time 0.006568/0.0329, allocations: 7.803 MB / 0.5889 GB, free: 14.78 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.89148907456547] Failed to read output from testmodel.py, exit status != 0: 0.038631781935691833 0.047406863 0.036102863 Calling exit ...