Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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: 101.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.0008618/0.0008618, allocations: 209.2 kB / 22.24 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.9591/0.9591, allocations: 230.6 MB / 256 MB, free: 9.602 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.7957/0.7957, 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.0009381/0.0009381, allocations: 65.72 kB / 0.7178 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.5069, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01331/0.5202, allocations: 15.48 MB / 0.8325 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007071/0.5273, allocations: 4.772 MB / 0.8372 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.5285, allocations: 88 kB / 0.8372 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.5305, allocations: 1.055 MB / 0.8383 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.5326, allocations: 0.7726 MB / 0.839 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.5346, allocations: 0.9264 MB / 0.8399 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003331/0.538, allocations: 3.625 MB / 0.8435 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00256/0.5405, allocations: 2.43 MB / 0.8458 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.5429, allocations: 1.632 MB / 0.8474 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/0.5451, allocations: 1.792 MB / 0.8492 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005397/0.5456, allocations: 339.6 kB / 0.8495 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.5469, allocations: 0.7442 MB / 0.8502 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.548, allocations: 1.354 MB / 0.8516 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001857/0.5499, allocations: 1.182 MB / 0.8527 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004547/0.5544, allocations: 5.171 MB / 0.8578 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.5544, allocations: 5.344 kB / 0.8578 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.606e-06/0.5544, allocations: 0 / 0.8578 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001798/0.5546, allocations: 4 kB / 0.8578 GB, free: 7.812 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005039/0.5596, allocations: 2.63 MB / 0.8603 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5597, allocations: 9.562 kB / 0.8603 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003788/0.5601, allocations: 379.3 kB / 0.8607 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/0.5625, allocations: 0.8438 MB / 0.8615 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/0.5649, allocations: 1.534 MB / 0.863 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.565, allocations: 180.1 kB / 0.8632 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/0.5653, allocations: 230 kB / 0.8634 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005077/0.5704, allocations: 4.265 MB / 0.8676 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/0.5704, allocations: 10.02 kB / 0.8676 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.5706, allocations: 102.8 kB / 0.8677 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/0.5708, allocations: 164.7 kB / 0.8679 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004235/0.575, allocations: 3.631 MB / 0.8714 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.5863, allocations: 11.03 MB / 0.8822 GB, free: 3.008 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.5881, allocations: 1.465 MB / 0.8836 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005457/0.5887, allocations: 0.547 MB / 0.8841 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.051e-05/0.5888, allocations: 20.77 kB / 0.8842 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.5888, allocations: 47.16 kB / 0.8842 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 2.846e-06/0.5888, allocations: 0 / 0.8842 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.003863/0.5927, allocations: 3.213 MB / 0.8873 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.5927, allocations: 111.5 kB / 0.8874 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009116/0.5936, allocations: 1.053 MB / 0.8885 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.5936, allocations: 37.7 kB / 0.8885 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.5941, allocations: 1.134 MB / 0.8896 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.5943, allocations: 301.6 kB / 0.8899 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.5945, allocations: 275.4 kB / 0.8902 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5947, allocations: 418.7 kB / 0.8906 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005835/0.5952, allocations: 0.6167 MB / 0.8912 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008254/0.5961, allocations: 1.182 MB / 0.8923 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.5977, allocations: 1.864 MB / 0.8941 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.5977, allocations: 8 kB / 0.8942 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.0019/0.5996, allocations: 2.019 MB / 0.8961 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.5996, allocations: 16.22 kB / 0.8961 GB, free: 4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.5997, allocations: 20 kB / 0.8962 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002644/0.5999, allocations: 163.3 kB / 0.8963 GB, free: 3.809 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/0.6005, allocations: 343.4 kB / 0.8966 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/0.6006, allocations: 39.86 kB / 0.8967 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/0.6012, allocations: 131.8 kB / 0.8968 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.6012, allocations: 71.98 kB / 0.8969 GB, free: 3.234 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001268/0.6025, allocations: 0.9693 MB / 0.8978 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.6026, allocations: 115.2 kB / 0.8979 GB, free: 2.141 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.6039, allocations: 1.234 MB / 0.8991 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.6039, allocations: 8 kB / 0.8991 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6039, allocations: 0 / 0.8991 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.6039, allocations: 7.922 kB / 0.8992 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/0.6078, allocations: 3.439 MB / 0.9025 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6078, allocations: 4 kB / 0.9025 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.6081, allocations: 159.8 kB / 0.9027 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/0.6083, allocations: 143.5 kB / 0.9028 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.6084, allocations: 16 kB / 0.9028 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.6084, allocations: 11.88 kB / 0.9028 GB, free: 13 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6084, allocations: 4 kB / 0.9028 GB, free: 13 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.6096, allocations: 1.47 MB / 0.9043 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.6099, allocations: 207.2 kB / 0.9045 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.61, allocations: 12 kB / 0.9045 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.6103, allocations: 71.91 kB / 0.9045 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.885e-05/0.6104, allocations: 64.5 kB / 0.9046 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.6105, allocations: 28 kB / 0.9046 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006151/0.6111, allocations: 0.6953 MB / 0.9053 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6111, allocations: 0 / 0.9053 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00107/0.6121, allocations: 384 kB / 0.9057 GB, free: 10.01 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/0.6139, allocations: 2.041 MB / 0.9077 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.6156, allocations: 1.364 MB / 0.909 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6156, allocations: 0 / 0.909 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000566/0.6162, allocations: 0.5378 MB / 0.9095 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008995/0.6171, allocations: 269.6 kB / 0.9098 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/0.6345, allocations: 12.9 MB / 0.9224 GB, free: 8.098 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/0.6361, allocations: 1.329 MB / 0.9237 GB, free: 6.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009993/0.6371, allocations: 449.4 kB / 0.9241 GB, free: 6.289 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005968/0.6377, allocations: 0.7218 MB / 0.9248 GB, free: 5.566 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/0.6377, allocations: 0 / 0.9248 GB, free: 5.566 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.6777, allocations: 29.16 MB / 0.9533 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/8.214, allocations: 15.81 kB / 0.9533 GB, free: 8.781 MB / 0.7292 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_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_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.222897790838033] Failed to read output from testmodel.py, exit status != 0: 8.305313752032816 8.319128707 7.762589429 Calling exit ...