Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.0008039/0.0008039, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0009639/0.0009639, allocations: 212.1 kB / 22.25 MB, free: 3.727 MB / 13.93 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.9521/0.9521, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7933/0.7933, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 64.89 kB / 0.7178 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5033, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.009935/0.5132, allocations: 10.7 MB / 0.8278 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008016/0.5212, allocations: 5.643 MB / 0.8333 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.5223, allocations: 70.59 kB / 0.8334 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.5248, allocations: 1.731 MB / 0.8351 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.5279, allocations: 1.178 MB / 0.8363 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.5299, allocations: 0.8163 MB / 0.8371 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002962/0.5329, allocations: 2.121 MB / 0.8391 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.5344, allocations: 1.026 MB / 0.8401 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.5363, allocations: 0.8808 MB / 0.841 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.5377, allocations: 0.9007 MB / 0.8419 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003063/0.538, allocations: 114.1 kB / 0.842 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.5401, allocations: 1.055 MB / 0.843 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005244/0.5406, allocations: 0.5477 MB / 0.8435 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0009504/0.5416, allocations: 0.6448 MB / 0.8442 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003281/0.5449, allocations: 2.458 MB / 0.8466 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.5449, allocations: 1.156 kB / 0.8466 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.186e-06/0.5449, allocations: 0 / 0.8466 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.101e-05/0.5449, allocations: 0 / 0.8466 GB, free: 15.36 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002953/0.5479, allocations: 1.842 MB / 0.8484 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5479, allocations: 10.47 kB / 0.8484 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001944/0.5481, allocations: 207.6 kB / 0.8486 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/0.551, allocations: 0.6815 MB / 0.8492 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.5525, allocations: 0.9197 MB / 0.8501 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/0.5526, allocations: 102 kB / 0.8502 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.5528, allocations: 125.4 kB / 0.8504 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/0.5556, allocations: 2.413 MB / 0.8527 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.003e-05/0.5556, allocations: 13.8 kB / 0.8527 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.5558, allocations: 64.84 kB / 0.8528 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001975/0.556, allocations: 161.8 kB / 0.8529 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.5584, allocations: 1.86 MB / 0.8548 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008923/0.5673, allocations: 9.414 MB / 0.864 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.5702, allocations: 1.856 MB / 0.8658 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006457/0.5709, allocations: 0.5562 MB / 0.8663 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.571, allocations: 28.7 kB / 0.8663 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.571, allocations: 44.09 kB / 0.8664 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=103): time 3.717e-06/0.571, allocations: 1.125 kB / 0.8664 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=110): time 0.004612/0.5756, allocations: 3.127 MB / 0.8694 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.5757, allocations: 66.22 kB / 0.8695 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.5767, allocations: 0.9477 MB / 0.8704 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/0.5768, allocations: 45.8 kB / 0.8705 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.5772, allocations: 0.7508 MB / 0.8712 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.5774, allocations: 402.4 kB / 0.8716 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003249/0.5778, allocations: 290.4 kB / 0.8719 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.5779, allocations: 306.2 kB / 0.8722 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008912/0.5787, allocations: 0.6134 MB / 0.8727 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008056/0.5796, allocations: 1.109 MB / 0.8738 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.5811, allocations: 1.828 MB / 0.8756 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.5811, allocations: 4 kB / 0.8756 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002459/0.5835, allocations: 2.101 MB / 0.8777 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.5836, allocations: 12 kB / 0.8777 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.5836, allocations: 24.08 kB / 0.8777 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/0.5841, allocations: 254.6 kB / 0.878 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/0.5848, allocations: 375.4 kB / 0.8783 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005708/0.5905, allocations: 10.73 MB / 0.8888 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.5916, allocations: 127.7 kB / 0.8889 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/0.5917, allocations: 71.98 kB / 0.889 GB, free: 10.54 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006789/0.5924, allocations: 417.3 kB / 0.8894 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.5925, allocations: 139.1 kB / 0.8895 GB, free: 9.984 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.5943, allocations: 1.677 MB / 0.8911 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.5943, allocations: 8 kB / 0.8912 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.5943, allocations: 7.984 kB / 0.8912 GB, free: 8.262 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.5943, allocations: 11.97 kB / 0.8912 GB, free: 8.25 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.5979, allocations: 3.116 MB / 0.8942 GB, free: 4.996 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.5979, allocations: 4 kB / 0.8942 GB, free: 4.992 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.5983, allocations: 223.6 kB / 0.8944 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004122/0.5987, allocations: 238.6 kB / 0.8947 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.5988, allocations: 36 kB / 0.8947 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005495/0.6043, allocations: 10.71 MB / 0.9052 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6043, allocations: 7.938 kB / 0.9052 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.6064, allocations: 1.808 MB / 0.9069 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000479/0.6069, allocations: 235 kB / 0.9072 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.319e-05/0.607, allocations: 24 kB / 0.9072 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004334/0.6074, allocations: 95.86 kB / 0.9073 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.6076, allocations: 96.66 kB / 0.9074 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.6076, allocations: 36 kB / 0.9074 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005761/0.6082, allocations: 0.6177 MB / 0.908 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6e-08/0.6082, allocations: 0 / 0.908 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00111/0.6093, allocations: 396 kB / 0.9084 GB, free: 5.43 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001856/0.6112, allocations: 2.392 MB / 0.9107 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002285/0.6134, allocations: 2.399 MB / 0.9131 GB, free: 428 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.6134, allocations: 0 / 0.9131 GB, free: 428 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.6148, allocations: 1.591 MB / 0.9146 GB, free: 14.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.6159, allocations: 361.9 kB / 0.9149 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.6273, allocations: 11.54 MB / 0.9262 GB, free: 2.098 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.6279, allocations: 0.7335 MB / 0.9269 GB, free: 1.332 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009018/0.6288, allocations: 363.3 kB / 0.9273 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004471/0.6293, allocations: 0.5383 MB / 0.9278 GB, free: 448 kB / 0.698 GB Notification: Performance of SimCode: time 1.432e-06/0.6293, allocations: 0 / 0.9278 GB, free: 448 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05413/0.6834, allocations: 30.5 MB / 0.9576 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.287, allocations: 9.859 kB / 0.9576 GB, free: 2.445 MB / 0.7292 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.352241325657815] Failed to read output from testmodel.py, exit status != 0: 8.382076732814312 8.392850543 7.845130274 Calling exit ...