Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001146/0.001146, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.001314/0.001314, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.9242/0.9242, allocations: 177.2 MB / 203.5 MB, free: 5.496 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.5712/0.5712, allocations: 114 MB / 373.9 MB, free: 8.625 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_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.583e-05, allocations: 5.344 kB / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005699/0.005725, allocations: 6.388 MB / 0.5604 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00391/0.009636, allocations: 2.993 MB / 0.5634 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.01013, allocations: 35.69 kB / 0.5634 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.01143, allocations: 0.9567 MB / 0.5643 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.01276, allocations: 0.5318 MB / 0.5648 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.01392, allocations: 437.9 kB / 0.5653 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.01532, allocations: 1.259 MB / 0.5665 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008967/0.01622, allocations: 0.5334 MB / 0.567 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.01731, allocations: 0.6663 MB / 0.5677 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000663/0.01797, allocations: 470.7 kB / 0.5681 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.842e-05/0.01805, allocations: 71.94 kB / 0.5682 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008212/0.01887, allocations: 347.1 kB / 0.5685 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.0191, allocations: 335 kB / 0.5688 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.01934, allocations: 307.2 kB / 0.5691 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.02049, allocations: 1.25 MB / 0.5703 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.0205, allocations: 0 / 0.5703 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.162e-06/0.0205, allocations: 0 / 0.5703 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.686e-05/0.02052, allocations: 0 / 0.5703 GB, free: 2.176 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001518/0.02204, allocations: 1.11 MB / 0.5714 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.02208, allocations: 8.625 kB / 0.5714 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.608e-05/0.02218, allocations: 114.7 kB / 0.5715 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008534/0.02303, allocations: 248.1 kB / 0.5718 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006371/0.02367, allocations: 0.5185 MB / 0.5723 GB, free: 124 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.0237, allocations: 49.67 kB / 0.5723 GB, free: 76 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.02377, allocations: 68.31 kB / 0.5724 GB, free: 8 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.02481, allocations: 1.34 MB / 0.5737 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.02484, allocations: 8.125 kB / 0.5737 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.02488, allocations: 36.11 kB / 0.5738 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.685e-05/0.02498, allocations: 85.25 kB / 0.5738 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007801/0.02576, allocations: 0.7465 MB / 0.5746 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003392/0.02915, allocations: 4.624 MB / 0.5791 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.02979, allocations: 0.501 MB / 0.5796 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.03007, allocations: 290.2 kB / 0.5798 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.0301, allocations: 4.5 kB / 0.5799 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.03012, allocations: 39.06 kB / 0.5799 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 2.455e-06/0.03012, allocations: 3.938 kB / 0.5799 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48): time 0.002251/0.03237, allocations: 1.682 MB / 0.5815 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.03241, allocations: 55.91 kB / 0.5816 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.03288, allocations: 0.5741 MB / 0.5821 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.03291, allocations: 29.7 kB / 0.5822 GB, free: 5.598 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.03335, allocations: 428 kB / 0.5826 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.03346, allocations: 174.5 kB / 0.5828 GB, free: 5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.03359, allocations: 130.6 kB / 0.5829 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.0337, allocations: 370.8 kB / 0.5832 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.03397, allocations: 277.8 kB / 0.5835 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.03433, allocations: 496.9 kB / 0.584 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006876/0.03502, allocations: 0.8163 MB / 0.5848 GB, free: 2.734 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.03502, allocations: 0 / 0.5848 GB, free: 2.734 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001301/0.03632, allocations: 1.074 MB / 0.5858 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.03635, allocations: 11.94 kB / 0.5858 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.03636, allocations: 4 kB / 0.5858 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/0.03692, allocations: 283.5 kB / 0.5861 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.03721, allocations: 127.7 kB / 0.5862 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/0.04136, allocations: 6.671 MB / 0.5927 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.04173, allocations: 35.97 kB / 0.5928 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.04176, allocations: 31.94 kB / 0.5928 GB, free: 10.01 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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): 4 systems {(2,6,100.0%), (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.0002708/0.04203, allocations: 253.7 kB / 0.593 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.0421, allocations: 87.39 kB / 0.5931 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009167/0.04301, allocations: 0.8745 MB / 0.594 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.04302, allocations: 4 kB / 0.594 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.04302, allocations: 11.94 kB / 0.594 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.04303, allocations: 11.95 kB / 0.594 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.04463, allocations: 1.603 MB / 0.5956 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.04464, allocations: 4 kB / 0.5956 GB, free: 7.059 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.04478, allocations: 59.88 kB / 0.5956 GB, free: 7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004126/0.04519, allocations: 263.4 kB / 0.5959 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.04522, allocations: 19.94 kB / 0.5959 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003882/0.0491, allocations: 6.67 MB / 0.6024 GB, free: 15.58 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.0491, allocations: 0 / 0.6024 GB, free: 15.58 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009958/0.0501, allocations: 0.9777 MB / 0.6034 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.05028, allocations: 115.5 kB / 0.6035 GB, free: 14.45 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.05031, allocations: 15.94 kB / 0.6035 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.0505, allocations: 28.03 kB / 0.6035 GB, free: 14.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.0506, allocations: 55.75 kB / 0.6036 GB, free: 14.35 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.05062, allocations: 16 kB / 0.6036 GB, free: 14.33 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002881/0.05091, allocations: 387.1 kB / 0.604 GB, free: 13.96 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.05091, allocations: 0 / 0.604 GB, free: 13.96 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006004/0.05151, allocations: 223.9 kB / 0.6042 GB, free: 13.74 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/0.05261, allocations: 1.531 MB / 0.6057 GB, free: 12.15 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.05394, allocations: 1.232 MB / 0.6069 GB, free: 10.86 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.05395, allocations: 8.062 kB / 0.6069 GB, free: 10.86 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006638/0.05461, allocations: 0.8656 MB / 0.6077 GB, free: 9.938 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/0.05525, allocations: 223.7 kB / 0.6079 GB, free: 9.73 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/0.06116, allocations: 6.352 MB / 0.6141 GB, free: 3.039 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.06146, allocations: 419.4 kB / 0.6145 GB, free: 2.605 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002692/0.06173, allocations: 122 kB / 0.6147 GB, free: 2.484 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.06194, allocations: 248.4 kB / 0.6149 GB, free: 2.242 MB / 0.573 GB Notification: Performance of SimCode: time 1.403e-06/0.06194, allocations: 0 / 0.6149 GB, free: 2.242 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04155/0.1035, allocations: 19.32 MB / 0.6338 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/7.711, allocations: 3.609 kB / 0.6338 GB, free: 15.38 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.335906446911395] Failed to read output from testmodel.py, exit status != 0: 7.8047976810485125 7.817118191 7.794373563 Calling exit ...