Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.0009362/0.0009362, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.0009083/0.0009083, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9033/0.9033, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5595/0.5595, allocations: 114 MB / 373.9 MB, free: 8.707 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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.5542 GB, free: 1.723 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.386e-05, allocations: 8.734 kB / 0.5542 GB, free: 1.715 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00441/0.004424, allocations: 5.199 MB / 0.5593 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.006869, allocations: 2.579 MB / 0.5618 GB, free: 9.906 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.007044, allocations: 35.75 kB / 0.5618 GB, free: 9.871 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000988/0.008032, allocations: 0.6844 MB / 0.5625 GB, free: 9.184 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004802/0.008513, allocations: 441.2 kB / 0.5629 GB, free: 8.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.008967, allocations: 398 kB / 0.5633 GB, free: 8.363 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006075/0.009574, allocations: 0.9824 MB / 0.5642 GB, free: 7.375 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.00997, allocations: 386.4 kB / 0.5646 GB, free: 7 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.01038, allocations: 0.5143 MB / 0.5651 GB, free: 6.484 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.0107, allocations: 363 kB / 0.5655 GB, free: 6.129 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.01075, allocations: 48 kB / 0.5655 GB, free: 6.082 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.01105, allocations: 346.9 kB / 0.5658 GB, free: 5.742 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.01121, allocations: 259.2 kB / 0.5661 GB, free: 5.488 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.01136, allocations: 239.4 kB / 0.5663 GB, free: 5.254 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006811/0.01204, allocations: 0.9969 MB / 0.5673 GB, free: 4.254 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01204, allocations: 3.984 kB / 0.5673 GB, free: 4.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.01204, allocations: 0 / 0.5673 GB, free: 4.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.01205, allocations: 0 / 0.5673 GB, free: 4.25 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.000978/0.01303, allocations: 0.9022 MB / 0.5682 GB, free: 3.316 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.01307, allocations: 12.62 kB / 0.5682 GB, free: 3.305 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.81e-05/0.01314, allocations: 106.6 kB / 0.5683 GB, free: 3.191 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006847/0.01383, allocations: 200.2 kB / 0.5685 GB, free: 2.996 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.01432, allocations: 451 kB / 0.5689 GB, free: 2.531 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.01435, allocations: 41.36 kB / 0.5689 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.865e-05/0.01445, allocations: 52.48 kB / 0.569 GB, free: 2.438 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008578/0.01531, allocations: 0.975 MB / 0.5699 GB, free: 1.348 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.01533, allocations: 8.125 kB / 0.57 GB, free: 1.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.01537, allocations: 31.92 kB / 0.57 GB, free: 1.309 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.01548, allocations: 68.92 kB / 0.5701 GB, free: 1.242 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005774/0.01605, allocations: 0.5697 MB / 0.5706 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.01842, allocations: 3.557 MB / 0.5741 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.01874, allocations: 279.2 kB / 0.5743 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.01894, allocations: 213.3 kB / 0.5746 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.01896, allocations: 4.281 kB / 0.5746 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.01899, allocations: 38.84 kB / 0.5746 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/0.01899, allocations: 0 / 0.5746 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.003187/0.02217, allocations: 2.334 MB / 0.5769 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.02221, allocations: 55.41 kB / 0.5769 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.02253, allocations: 473.9 kB / 0.5774 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.02255, allocations: 29.7 kB / 0.5774 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.02271, allocations: 344.5 kB / 0.5777 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/0.02279, allocations: 150.7 kB / 0.5779 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.02289, allocations: 106.3 kB / 0.578 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.023, allocations: 362.7 kB / 0.5783 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.02323, allocations: 241.2 kB / 0.5786 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.02353, allocations: 411.3 kB / 0.5789 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/0.0241, allocations: 0.6739 MB / 0.5796 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.0241, allocations: 4 kB / 0.5796 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009683/0.02507, allocations: 0.9134 MB / 0.5805 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.02509, allocations: 8 kB / 0.5805 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.02509, allocations: 4 kB / 0.5805 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004331/0.02553, allocations: 231 kB / 0.5807 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.0258, allocations: 111.8 kB / 0.5808 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/0.02889, allocations: 4.999 MB / 0.5857 GB, free: 424 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.02909, allocations: 32.09 kB / 0.5858 GB, free: 392 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.02911, allocations: 28 kB / 0.5858 GB, free: 364 kB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.02929, allocations: 221.6 kB / 0.586 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.02934, allocations: 59.62 kB / 0.586 GB, free: 72 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008679/0.03021, allocations: 0.7696 MB / 0.5868 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.03021, allocations: 7.938 kB / 0.5868 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.03022, allocations: 4 kB / 0.5868 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.03022, allocations: 0 / 0.5868 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.0316, allocations: 1.393 MB / 0.5882 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.0316, allocations: 4 kB / 0.5882 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.03179, allocations: 67.88 kB / 0.5882 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003356/0.03212, allocations: 210.5 kB / 0.5884 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.03214, allocations: 8 kB / 0.5884 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/0.03484, allocations: 4.941 MB / 0.5933 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.03484, allocations: 4.031 kB / 0.5933 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.03586, allocations: 1.131 MB / 0.5944 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.03598, allocations: 95.66 kB / 0.5945 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.03601, allocations: 8 kB / 0.5945 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.03617, allocations: 27.91 kB / 0.5945 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.03622, allocations: 35.94 kB / 0.5945 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.03624, allocations: 15.94 kB / 0.5946 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002002/0.03644, allocations: 314.9 kB / 0.5949 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03644, allocations: 4 kB / 0.5949 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003795/0.03682, allocations: 164 kB / 0.595 GB, free: 6.395 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,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.001229/0.03804, allocations: 1.684 MB / 0.5967 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000962/0.03901, allocations: 0.9613 MB / 0.5976 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.03901, allocations: 0 / 0.5976 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004899/0.0395, allocations: 0.6719 MB / 0.5983 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.04001, allocations: 185.5 kB / 0.5984 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/0.04474, allocations: 5.563 MB / 0.6039 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.04496, allocations: 346.2 kB / 0.6042 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001924/0.04515, allocations: 117 kB / 0.6043 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.04533, allocations: 212.4 kB / 0.6045 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/0.04533, allocations: 0 / 0.6045 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.07477, allocations: 15.72 MB / 0.6199 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.149/7.223, allocations: 11.3 kB / 0.6199 GB, free: 12.9 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.711955724284053] Failed to read output from testmodel.py, exit status != 0: 7.313753458671272 7.327895687 7.313196754 Calling exit ...