Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.001131/0.001131, 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.001426/0.001426, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.933/0.933, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5733/0.5733, allocations: 114 MB / 373.9 MB, free: 8.699 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.448e-05, allocations: 4.812 kB / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02525/0.02528, allocations: 35.01 MB / 0.5884 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01692/0.0422, allocations: 13 MB / 0.6011 GB, free: 2.609 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004559/0.04676, allocations: 230.2 kB / 0.6013 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.006619/0.05338, allocations: 3.913 MB / 0.6051 GB, free: 14.46 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006856/0.06023, allocations: 2.687 MB / 0.6078 GB, free: 11.76 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007006/0.06724, allocations: 2.76 MB / 0.6105 GB, free: 9 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01072/0.07796, allocations: 9.788 MB / 0.62 GB, free: 15.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007277/0.08524, allocations: 5.535 MB / 0.6254 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00955/0.09479, allocations: 5.718 MB / 0.631 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007086/0.1019, allocations: 4.13 MB / 0.635 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0022/0.1041, allocations: 0.7695 MB / 0.6358 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004064/0.1081, allocations: 1.681 MB / 0.6374 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00323/0.1114, allocations: 3.242 MB / 0.6406 GB, free: 9.949 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.004442/0.1158, allocations: 2.514 MB / 0.643 GB, free: 7.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.1262, allocations: 12.08 MB / 0.6548 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.1262, allocations: 0 / 0.6548 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.036e-06/0.1262, allocations: 0 / 0.6548 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000361/0.1266, allocations: 0 / 0.6548 GB, free: 11.32 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01391/0.1405, allocations: 6.369 MB / 0.6611 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.1406, allocations: 8.625 kB / 0.6611 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001592/0.1421, allocations: 0.7519 MB / 0.6618 GB, free: 4.113 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00499/0.1471, allocations: 1.351 MB / 0.6631 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006222/0.1534, allocations: 3.729 MB / 0.6668 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.1536, allocations: 394.3 kB / 0.6671 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008217/0.1544, allocations: 0.4963 MB / 0.6676 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.1672, allocations: 9.635 MB / 0.677 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/0.1673, allocations: 31.95 kB / 0.6771 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004285/0.1677, allocations: 228.1 kB / 0.6773 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001144/0.1689, allocations: 0.6265 MB / 0.6779 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2842/0.453, allocations: 6.996 MB / 0.6847 GB, free: 148.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0315/0.4845, allocations: 27.56 MB / 0.7116 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/0.4877, allocations: 2.638 MB / 0.7142 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002428/0.4901, allocations: 2.408 MB / 0.7166 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.4903, allocations: 29.06 kB / 0.7166 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.4903, allocations: 67.5 kB / 0.7167 GB, free: 129.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=265): time 6.001e-06/0.4903, allocations: 1.781 kB / 0.7167 GB, free: 129.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=424): time 0.1462/0.6366, allocations: 72.92 MB / 0.7879 GB, free: 79.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.6366, allocations: 98.73 kB / 0.788 GB, free: 79.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003105/0.6397, allocations: 2.397 MB / 0.7903 GB, free: 77.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0009491/0.6407, allocations: 97.7 kB / 0.7904 GB, free: 77.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009059/0.6416, allocations: 2.395 MB / 0.7927 GB, free: 75.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/0.6428, allocations: 1.485 MB / 0.7942 GB, free: 73.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009243/0.6437, allocations: 0.7178 MB / 0.7949 GB, free: 72.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.56e-05/0.6438, allocations: 309.1 kB / 0.7952 GB, free: 72.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/0.6465, allocations: 2.999 MB / 0.7981 GB, free: 69.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002834/0.6493, allocations: 3.843 MB / 0.8019 GB, free: 65.42 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005912/0.6552, allocations: 7.38 MB / 0.8091 GB, free: 57.72 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/0.6553, allocations: 6.719 kB / 0.8091 GB, free: 57.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.01574/0.671, allocations: 12.39 MB / 0.8212 GB, free: 45.22 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.671, allocations: 20.03 kB / 0.8212 GB, free: 45.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/0.6711, allocations: 24 kB / 0.8212 GB, free: 45.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01158/0.6826, allocations: 6.019 MB / 0.8271 GB, free: 39.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.6841, allocations: 491.2 kB / 0.8276 GB, free: 38.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04903/0.7331, allocations: 69.68 MB / 0.8956 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.7361, allocations: 223.7 kB / 0.8958 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004376/0.7365, allocations: 156.2 kB / 0.896 GB, free: 13.87 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003126/0.7397, allocations: 1.988 MB / 0.8979 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/0.7409, allocations: 421.4 kB / 0.8983 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01713/0.758, allocations: 12.05 MB / 0.9101 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/0.758, allocations: 40 kB / 0.9101 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001491/0.7582, allocations: 48 kB / 0.9102 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.968e-05/0.7582, allocations: 23.86 kB / 0.9102 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02621/0.7844, allocations: 17.92 MB / 0.9277 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.7844, allocations: 4 kB / 0.9277 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008081/0.7852, allocations: 291.6 kB / 0.928 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01118/0.7964, allocations: 5.561 MB / 0.9334 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006572/0.7971, allocations: 87.98 kB / 0.9335 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3317/1.129, allocations: 67.29 MB / 0.9992 GB, free: 193.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/1.129, allocations: 11.56 kB / 0.9992 GB, free: 193.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02204/1.151, allocations: 15.44 MB / 1.014 GB, free: 187.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002633/1.153, allocations: 0.988 MB / 1.015 GB, free: 186.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005728/1.154, allocations: 87.22 kB / 1.015 GB, free: 186.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/1.156, allocations: 219 kB / 1.016 GB, free: 186.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/1.157, allocations: 422.1 kB / 1.016 GB, free: 186.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/1.157, allocations: 109.4 kB / 1.016 GB, free: 186.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002085/1.159, allocations: 1.554 MB / 1.018 GB, free: 186 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.61e-07/1.159, allocations: 2.781 kB / 1.018 GB, free: 186 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005866/1.165, allocations: 1.86 MB / 1.019 GB, free: 185.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02098/1.186, allocations: 16.11 MB / 1.035 GB, free: 178.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01337/1.2, allocations: 11.59 MB / 1.046 GB, free: 172.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.2, allocations: 3.875 kB / 1.046 GB, free: 172.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.008937/1.209, allocations: 8.103 MB / 1.054 GB, free: 167.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004291/1.213, allocations: 1.194 MB / 1.056 GB, free: 167.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07299/1.286, allocations: 53.81 MB / 1.108 GB, free: 115.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004407/1.29, allocations: 3.563 MB / 1.112 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001868/1.292, allocations: 0.6747 MB / 1.112 GB, free: 111 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/1.294, allocations: 2.133 MB / 1.114 GB, free: 108.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.943e-06/1.294, allocations: 0 / 1.114 GB, free: 108.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4674/1.761, allocations: 161.1 MB / 1.272 GB, free: 218.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.88, allocations: 8.547 kB / 1.272 GB, free: 218.5 MB / 0.7448 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.703406907618046] Failed to read output from testmodel.py, exit status != 0: 14.025471944361925 14.0334021 13.904495259 Calling exit ...