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.0008595/0.0008595, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008874/0.0008874, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9193/0.9193, allocations: 230.6 MB / 256 MB, free: 9.617 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.7759/0.7759, allocations: 203.5 MB / 0.5039 GB, free: 10.72 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.001379/0.001379, allocations: 64.41 kB / 0.7178 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4823, allocations: 102 MB / 0.8174 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008901/0.4912, allocations: 10.7 MB / 0.8278 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007226/0.4985, allocations: 5.635 MB / 0.8333 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009258/0.4994, allocations: 69.66 kB / 0.8334 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.5017, allocations: 1.732 MB / 0.8351 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00292/0.5046, allocations: 1.182 MB / 0.8363 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.5067, allocations: 0.819 MB / 0.8371 GB, free: 4.812 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002579/0.5093, allocations: 2.124 MB / 0.8391 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.5104, allocations: 1.016 MB / 0.8401 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.5116, allocations: 0.8882 MB / 0.841 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009416/0.5126, allocations: 0.9016 MB / 0.8419 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.5127, allocations: 114.8 kB / 0.842 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.5145, allocations: 1.058 MB / 0.843 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004072/0.5149, allocations: 0.5383 MB / 0.8435 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005432/0.5154, allocations: 0.6449 MB / 0.8442 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.5178, allocations: 2.444 MB / 0.8466 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5179, allocations: 0 / 0.8466 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5179, allocations: 3.938 kB / 0.8466 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.478e-05/0.5179, allocations: 1.438 kB / 0.8466 GB, free: 15.43 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.002208/0.5201, allocations: 1.843 MB / 0.8484 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5201, allocations: 13.84 kB / 0.8484 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.5203, allocations: 216.2 kB / 0.8486 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002668/0.523, allocations: 0.6696 MB / 0.8492 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.5241, allocations: 0.9236 MB / 0.8501 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.538e-05/0.5242, allocations: 93.38 kB / 0.8502 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.5243, allocations: 134.2 kB / 0.8504 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.5265, allocations: 2.417 MB / 0.8527 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.5266, allocations: 16.78 kB / 0.8527 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.274e-05/0.5267, allocations: 61.44 kB / 0.8528 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001403/0.5268, allocations: 166.3 kB / 0.853 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.5287, allocations: 1.86 MB / 0.8548 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006988/0.5357, allocations: 9.405 MB / 0.864 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/0.5384, allocations: 1.858 MB / 0.8658 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/0.539, allocations: 0.5562 MB / 0.8663 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.581e-05/0.5391, allocations: 25.53 kB / 0.8663 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.5391, allocations: 47.83 kB / 0.8664 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=103): time 3.005e-06/0.5391, allocations: 0 / 0.8664 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=110): time 0.005048/0.5442, allocations: 3.127 MB / 0.8694 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.5442, allocations: 66.41 kB / 0.8695 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/0.5451, allocations: 0.9516 MB / 0.8704 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.5452, allocations: 44.83 kB / 0.8705 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.5456, allocations: 0.7518 MB / 0.8712 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.5458, allocations: 398.3 kB / 0.8716 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.5461, allocations: 290.2 kB / 0.8719 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.5462, allocations: 306.3 kB / 0.8722 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006838/0.5469, allocations: 0.612 MB / 0.8727 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000834/0.5478, allocations: 1.106 MB / 0.8738 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.5493, allocations: 1.835 MB / 0.8756 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.5493, allocations: 7.938 kB / 0.8756 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002341/0.5516, allocations: 2.1 MB / 0.8777 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.5516, allocations: 12 kB / 0.8777 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.5517, allocations: 16 kB / 0.8777 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/0.5522, allocations: 263.1 kB / 0.878 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.5529, allocations: 371.4 kB / 0.8783 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005548/0.5584, allocations: 10.74 MB / 0.8888 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009061/0.5593, allocations: 135.8 kB / 0.8889 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/0.5594, allocations: 71.98 kB / 0.889 GB, free: 10.62 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.0005742/0.56, allocations: 401.1 kB / 0.8894 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.5601, allocations: 139.2 kB / 0.8895 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.5617, allocations: 1.677 MB / 0.8911 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.5617, allocations: 12 kB / 0.8912 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5617, allocations: 0 / 0.8912 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.5617, allocations: 7.984 kB / 0.8912 GB, free: 8.359 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/0.5651, allocations: 3.111 MB / 0.8942 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.5651, allocations: 11.94 kB / 0.8942 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/0.5656, allocations: 223.6 kB / 0.8944 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003652/0.566, allocations: 243.3 kB / 0.8947 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.566, allocations: 35.92 kB / 0.8947 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004958/0.571, allocations: 10.72 MB / 0.9052 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.571, allocations: 7.938 kB / 0.9052 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.5728, allocations: 1.8 MB / 0.9069 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.5733, allocations: 235 kB / 0.9072 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.104e-05/0.5734, allocations: 28.12 kB / 0.9072 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004255/0.5738, allocations: 95.86 kB / 0.9073 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.574, allocations: 104.7 kB / 0.9074 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.574, allocations: 28 kB / 0.9074 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007961/0.5748, allocations: 0.6216 MB / 0.908 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5748, allocations: 0 / 0.908 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00112/0.5759, allocations: 388 kB / 0.9084 GB, free: 5.535 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.001865/0.5778, allocations: 2.393 MB / 0.9107 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.5801, allocations: 2.403 MB / 0.9131 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.5801, allocations: 0 / 0.9131 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.5812, allocations: 1.586 MB / 0.9146 GB, free: 14.83 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.5825, allocations: 353.9 kB / 0.9149 GB, free: 14.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.5932, allocations: 11.55 MB / 0.9262 GB, free: 2.199 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.5938, allocations: 0.7413 MB / 0.9269 GB, free: 1.426 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006358/0.5944, allocations: 355.3 kB / 0.9273 GB, free: 1.074 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.5949, allocations: 0.5344 MB / 0.9278 GB, free: 0.543 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/0.5949, allocations: 0 / 0.9278 GB, free: 0.543 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05666/0.6515, allocations: 30.51 MB / 0.9576 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.392, allocations: 8.062 kB / 0.9576 GB, free: 2.543 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.282784879207611] Failed to read output from testmodel.py, exit status != 0: 8.492058741860092 8.500952932 7.980904656 Calling exit ...