Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0008338/0.0008338, 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.0008972/0.0008972, allocations: 174.3 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.8984/0.8984, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.5779/0.5779, allocations: 114 MB / 373.9 MB, free: 8.688 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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.312e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02187/0.0219, allocations: 30.8 MB / 0.5843 GB, free: 3.879 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01177/0.03367, allocations: 10.15 MB / 0.5942 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.03555, allocations: 198.5 kB / 0.5944 GB, free: 9.504 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00478/0.04033, allocations: 3.736 MB / 0.598 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003769/0.0441, allocations: 2.004 MB / 0.6 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.04727, allocations: 2.161 MB / 0.6021 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005428/0.0527, allocations: 7.453 MB / 0.6094 GB, free: 10.11 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005077/0.05778, allocations: 5.12 MB / 0.6144 GB, free: 4.863 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005132/0.06291, allocations: 4.596 MB / 0.6189 GB, free: 264 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.06566, allocations: 3.234 MB / 0.622 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0005246/0.06619, allocations: 0.6445 MB / 0.6227 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.06825, allocations: 1.68 MB / 0.6243 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001494/0.06974, allocations: 2.724 MB / 0.627 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.07112, allocations: 2.016 MB / 0.6289 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.006024/0.07714, allocations: 10.32 MB / 0.639 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.07715, allocations: 4 kB / 0.639 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.07715, allocations: 4 kB / 0.639 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001062/0.07726, allocations: 0 / 0.639 GB, free: 11.59 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.006047/0.0833, allocations: 4.994 MB / 0.6439 GB, free: 6.531 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.08335, allocations: 8.625 kB / 0.6439 GB, free: 6.523 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006694/0.08401, allocations: 0.6859 MB / 0.6446 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/0.08661, allocations: 0.9891 MB / 0.6455 GB, free: 4.836 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003338/0.08995, allocations: 2.998 MB / 0.6485 GB, free: 1.762 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.09011, allocations: 349.7 kB / 0.6488 GB, free: 1.418 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000456/0.09056, allocations: 464.2 kB / 0.6492 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007303/0.09787, allocations: 7.968 MB / 0.657 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.38e-05/0.09796, allocations: 31.95 kB / 0.6571 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003112/0.09827, allocations: 204.1 kB / 0.6572 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002006/0.09847, allocations: 312.9 kB / 0.6575 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005681/0.1042, allocations: 5.702 MB / 0.6631 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2842/0.3884, allocations: 22.65 MB / 0.6852 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.3901, allocations: 1.557 MB / 0.6868 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008852/0.3909, allocations: 1.122 MB / 0.6878 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.454e-05/0.391, allocations: 13.22 kB / 0.6879 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.391, allocations: 45.31 kB / 0.6879 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=133): time 3.626e-06/0.391, allocations: 0 / 0.6879 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=136): time 0.007243/0.3983, allocations: 6.203 MB / 0.694 GB, free: 137 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.3983, allocations: 70.14 kB / 0.694 GB, free: 137 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.3995, allocations: 1.526 MB / 0.6955 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.3996, allocations: 51.11 kB / 0.6956 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006098/0.4002, allocations: 2.074 MB / 0.6976 GB, free: 135 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.4004, allocations: 0.4925 MB / 0.6981 GB, free: 134.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.4007, allocations: 347 kB / 0.6984 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.821e-05/0.4007, allocations: 304.5 kB / 0.6987 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007277/0.4014, allocations: 0.9117 MB / 0.6996 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009024/0.4024, allocations: 1.589 MB / 0.7011 GB, free: 132.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/0.4042, allocations: 2.741 MB / 0.7038 GB, free: 131 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.4042, allocations: 6.125 kB / 0.7038 GB, free: 131 MB / 0.6355 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003322/0.4075, allocations: 3.51 MB / 0.7072 GB, free: 129.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.4075, allocations: 19.31 kB / 0.7073 GB, free: 129.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.4075, allocations: 21 kB / 0.7073 GB, free: 129.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.4088, allocations: 0.8983 MB / 0.7082 GB, free: 129.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.4094, allocations: 350.6 kB / 0.7085 GB, free: 129.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.4195, allocations: 21.71 MB / 0.7297 GB, free: 111 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.4206, allocations: 102.7 kB / 0.7298 GB, free: 111 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/0.4207, allocations: 86.23 kB / 0.7299 GB, free: 110.9 MB / 0.6355 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.001895/0.4226, allocations: 1.612 MB / 0.7315 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.4228, allocations: 212.6 kB / 0.7317 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/0.4257, allocations: 2.967 MB / 0.7346 GB, free: 108.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.4258, allocations: 21.56 kB / 0.7346 GB, free: 108.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.4258, allocations: 9.031 kB / 0.7346 GB, free: 108.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.4258, allocations: 7.609 kB / 0.7346 GB, free: 108.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007412/0.4332, allocations: 6.719 MB / 0.7412 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4332, allocations: 4.438 kB / 0.7412 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004419/0.4336, allocations: 175.6 kB / 0.7413 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.4349, allocations: 0.8304 MB / 0.7421 GB, free: 105.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.3e-05/0.435, allocations: 30.41 kB / 0.7422 GB, free: 105.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.4458, allocations: 20.57 MB / 0.7622 GB, free: 88.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/0.4458, allocations: 8.531 kB / 0.7623 GB, free: 88.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003786/0.4496, allocations: 3.011 MB / 0.7652 GB, free: 86.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008276/0.4504, allocations: 396.1 kB / 0.7656 GB, free: 86.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.4506, allocations: 30.67 kB / 0.7656 GB, free: 86.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004578/0.451, allocations: 69.41 kB / 0.7657 GB, free: 86.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003466/0.4514, allocations: 131.6 kB / 0.7658 GB, free: 86.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/0.4514, allocations: 39.61 kB / 0.7658 GB, free: 86.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009039/0.4523, allocations: 0.9773 MB / 0.7668 GB, free: 86.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4523, allocations: 0 / 0.7668 GB, free: 86.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002132/0.4545, allocations: 0.7861 MB / 0.7676 GB, free: 86.06 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002797/0.4572, allocations: 3.593 MB / 0.7711 GB, free: 84.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003092/0.4603, allocations: 3.911 MB / 0.7749 GB, free: 81.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.4603, allocations: 0 / 0.7749 GB, free: 81.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.4621, allocations: 2.666 MB / 0.7775 GB, free: 79.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.464, allocations: 0.7365 MB / 0.7782 GB, free: 79.67 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/0.4855, allocations: 22.51 MB / 0.8002 GB, free: 58.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/0.4874, allocations: 2.565 MB / 0.8027 GB, free: 56.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008651/0.4882, allocations: 454 kB / 0.8031 GB, free: 55.67 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008757/0.4891, allocations: 1.543 MB / 0.8046 GB, free: 54.13 MB / 0.6355 GB Notification: Performance of SimCode: time 1.252e-06/0.4891, allocations: 0 / 0.8046 GB, free: 54.13 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08983/0.5789, allocations: 65.73 MB / 0.8688 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.978/9.557, allocations: 14.45 kB / 0.8688 GB, free: 5.352 MB / 0.6511 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.195473584346473] Failed to read output from testmodel.py, exit status != 0: 9.665128598921001 9.673970752 9.59511238 Calling exit ...