Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.0008847/0.0008847, 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.0009957/0.0009957, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9513/0.9513, allocations: 230.6 MB / 256 MB, free: 9.594 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.7792/0.7792, allocations: 203.5 MB / 0.5039 GB, free: 10.7 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.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.0009562/0.0009562, allocations: 69.92 kB / 0.7178 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4877/0.4887, allocations: 102 MB / 0.8174 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004424/0.4931, allocations: 4.614 MB / 0.8219 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003153/0.4963, allocations: 2.407 MB / 0.8242 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002731/0.4966, allocations: 35.16 kB / 0.8243 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009512/0.4975, allocations: 413.4 kB / 0.8247 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008662/0.4984, allocations: 462.7 kB / 0.8251 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007152/0.4991, allocations: 380.6 kB / 0.8255 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001125/0.5002, allocations: 0.9144 MB / 0.8264 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000439/0.5007, allocations: 308.9 kB / 0.8267 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/0.5011, allocations: 365.8 kB / 0.827 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003758/0.5015, allocations: 334.2 kB / 0.8273 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.5015, allocations: 38.66 kB / 0.8274 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006075/0.5021, allocations: 363 kB / 0.8277 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.5023, allocations: 192.4 kB / 0.8279 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.5025, allocations: 261.9 kB / 0.8281 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008971/0.5034, allocations: 0.895 MB / 0.829 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5034, allocations: 0 / 0.829 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5034, allocations: 2.203 kB / 0.829 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.5034, allocations: 0 / 0.829 GB, free: 10.46 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001127/0.5046, allocations: 0.8844 MB / 0.8299 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.5046, allocations: 9.594 kB / 0.8299 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.779e-05/0.5047, allocations: 93.52 kB / 0.83 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000999/0.5057, allocations: 206.2 kB / 0.8302 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007025/0.5064, allocations: 481 kB / 0.8306 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.5064, allocations: 30.91 kB / 0.8307 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.043e-05/0.5065, allocations: 49.67 kB / 0.8307 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008978/0.5074, allocations: 0.9787 MB / 0.8317 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.5074, allocations: 7.219 kB / 0.8317 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.5075, allocations: 23.67 kB / 0.8317 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.321e-05/0.5076, allocations: 67.05 kB / 0.8318 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006389/0.5082, allocations: 0.5663 MB / 0.8323 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.5113, allocations: 4.717 MB / 0.8369 GB, free: 4.332 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008747/0.5122, allocations: 430 kB / 0.8373 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.5124, allocations: 203.3 kB / 0.8375 GB, free: 4.098 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.5125, allocations: 4.125 kB / 0.8375 GB, free: 4.098 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.5125, allocations: 33.5 kB / 0.8376 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.226e-06/0.5125, allocations: 7.938 kB / 0.8376 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001737/0.5142, allocations: 1.136 MB / 0.8387 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.5143, allocations: 56.61 kB / 0.8387 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004355/0.5147, allocations: 0.5071 MB / 0.8392 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.5147, allocations: 30.77 kB / 0.8393 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.5149, allocations: 362.3 kB / 0.8396 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.711e-05/0.515, allocations: 125.4 kB / 0.8397 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.5151, allocations: 109 kB / 0.8398 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5152, allocations: 365.1 kB / 0.8402 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.5154, allocations: 195.5 kB / 0.8404 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.5157, allocations: 450.5 kB / 0.8408 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005902/0.5163, allocations: 0.6895 MB / 0.8415 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5163, allocations: 2.344 kB / 0.8415 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008733/0.5172, allocations: 0.8111 MB / 0.8423 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5172, allocations: 10.39 kB / 0.8423 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.5172, allocations: 8 kB / 0.8423 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003275/0.5176, allocations: 162.4 kB / 0.8424 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.5179, allocations: 122.1 kB / 0.8425 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.52, allocations: 4.025 MB / 0.8465 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.5202, allocations: 37.53 kB / 0.8465 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.5203, allocations: 27.03 kB / 0.8465 GB, free: 13.03 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002202/0.5205, allocations: 224.2 kB / 0.8467 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.5206, allocations: 60.84 kB / 0.8468 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008862/0.5214, allocations: 0.5898 MB / 0.8474 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5214, allocations: 3.719 kB / 0.8474 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.5214, allocations: 6.625 kB / 0.8474 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5215, allocations: 0 / 0.8474 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.5226, allocations: 1.188 MB / 0.8486 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5226, allocations: 2.031 kB / 0.8486 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.5228, allocations: 49.89 kB / 0.8486 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002414/0.523, allocations: 145.5 kB / 0.8487 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.523, allocations: 11.59 kB / 0.8488 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.5248, allocations: 4.02 MB / 0.8527 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5248, allocations: 2.469 kB / 0.8527 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.5255, allocations: 0.7113 MB / 0.8534 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.5256, allocations: 91.2 kB / 0.8535 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.5256, allocations: 7.719 kB / 0.8535 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.5258, allocations: 23.69 kB / 0.8535 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.5258, allocations: 40.12 kB / 0.8535 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.5258, allocations: 11.47 kB / 0.8535 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002643/0.5261, allocations: 331 kB / 0.8539 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5261, allocations: 0 / 0.8539 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004869/0.5266, allocations: 146.9 kB / 0.854 GB, free: 6.652 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0008377/0.5274, allocations: 1.26 MB / 0.8552 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.5286, allocations: 0.8627 MB / 0.8561 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5286, allocations: 0 / 0.8561 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004399/0.5291, allocations: 0.5641 MB / 0.8566 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.5297, allocations: 208.1 kB / 0.8568 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004456/0.5341, allocations: 5.108 MB / 0.8618 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.5343, allocations: 314.7 kB / 0.8621 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002757/0.5346, allocations: 114.2 kB / 0.8622 GB, free: 468 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.5348, allocations: 194.5 kB / 0.8624 GB, free: 304 kB / 0.6355 GB Notification: Performance of SimCode: time 1.472e-06/0.5348, allocations: 0 / 0.8624 GB, free: 304 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03548/0.5703, allocations: 14.16 MB / 0.8762 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.281/7.851, allocations: 14.38 kB / 0.8762 GB, free: 7.934 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_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_OnePhase_Loads_Examples_TestImpedance.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.806966525968164] Failed to read output from testmodel.py, exit status != 0: 7.936990611255169 7.9502293360000005 7.444736054 Calling exit ...