Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.0009426/0.0009426, allocations: 101.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.0009902/0.0009902, allocations: 212 kB / 22.25 MB, free: 3.578 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.9427/0.9427, allocations: 230.6 MB / 256 MB, free: 9.605 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.7864/0.7864, allocations: 203.5 MB / 0.5039 GB, free: 10.73 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.Lines.Examples.ACLine,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.0009502/0.0009502, allocations: 71.28 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.526/0.527, allocations: 102 MB / 0.8174 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01002/0.537, allocations: 10.32 MB / 0.8275 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.5479, allocations: 8.504 MB / 0.8358 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008998/0.5488, allocations: 78 kB / 0.8358 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.5513, allocations: 1.671 MB / 0.8375 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.5547, allocations: 1.568 MB / 0.839 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.5563, allocations: 0.6773 MB / 0.8397 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002803/0.5591, allocations: 2.284 MB / 0.8419 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.5604, allocations: 1.14 MB / 0.843 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.5618, allocations: 1.037 MB / 0.844 GB, free: 472 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.5631, allocations: 1.01 MB / 0.845 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.5633, allocations: 138.4 kB / 0.8451 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.5646, allocations: 0.7371 MB / 0.8459 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004209/0.565, allocations: 0.5786 MB / 0.8464 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009931/0.566, allocations: 0.7181 MB / 0.8471 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.5683, allocations: 2.599 MB / 0.8497 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5683, allocations: 0 / 0.8497 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5683, allocations: 1.375 kB / 0.8497 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.421e-05/0.5684, allocations: 4 kB / 0.8497 GB, free: 12.91 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002633/0.571, allocations: 1.999 MB / 0.8516 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.5711, allocations: 8.969 kB / 0.8516 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.5712, allocations: 185.1 kB / 0.8518 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006333/0.5776, allocations: 2.059 MB / 0.8538 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.5792, allocations: 1.138 MB / 0.8549 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.986e-05/0.5792, allocations: 89.97 kB / 0.855 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.5794, allocations: 119.7 kB / 0.8551 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004022/0.5834, allocations: 2.883 MB / 0.8579 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.5834, allocations: 12.14 kB / 0.858 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.5836, allocations: 54.17 kB / 0.858 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002117/0.5838, allocations: 131.1 kB / 0.8581 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00415/0.5879, allocations: 2.539 MB / 0.8606 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008051/0.596, allocations: 7.644 MB / 0.8681 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/0.5996, allocations: 1.845 MB / 0.8699 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.6012, allocations: 0.9429 MB / 0.8708 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.6012, allocations: 4.875 kB / 0.8708 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.6012, allocations: 42.88 kB / 0.8708 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.004e-06/0.6012, allocations: 0 / 0.8708 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.01652/0.6178, allocations: 8.643 MB / 0.8793 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.6178, allocations: 64 kB / 0.8793 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009946/0.6188, allocations: 1.116 MB / 0.8804 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-05/0.6189, allocations: 33.7 kB / 0.8805 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.6192, allocations: 0.7512 MB / 0.8812 GB, free: 3.988 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.6194, allocations: 301.4 kB / 0.8815 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.6196, allocations: 202.5 kB / 0.8817 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.6197, allocations: 341.9 kB / 0.882 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.6213, allocations: 1.071 MB / 0.8831 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.6231, allocations: 1.305 MB / 0.8843 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003264/0.6264, allocations: 2.378 MB / 0.8867 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6264, allocations: 4 kB / 0.8867 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004772/0.6312, allocations: 3.253 MB / 0.8898 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.6312, allocations: 12 kB / 0.8898 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.6312, allocations: 7.938 kB / 0.8899 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001995/0.6332, allocations: 0.7956 MB / 0.8906 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000963/0.6342, allocations: 415.2 kB / 0.891 GB, free: 9.664 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00962/0.6438, allocations: 14.99 MB / 0.9057 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.6451, allocations: 291.5 kB / 0.9059 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.493e-05/0.6452, allocations: 47.97 kB / 0.906 GB, free: 9.418 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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 {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,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.0006553/0.6459, allocations: 397.5 kB / 0.9064 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.646, allocations: 151.1 kB / 0.9065 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004682/0.6507, allocations: 3.179 MB / 0.9096 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6507, allocations: 8 kB / 0.9096 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6507, allocations: 11.94 kB / 0.9096 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6507, allocations: 3.984 kB / 0.9096 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006325/0.657, allocations: 4.624 MB / 0.9142 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.657, allocations: 352 / 0.9142 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007937/0.6578, allocations: 355.4 kB / 0.9145 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/0.659, allocations: 0.6935 MB / 0.9152 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/0.6591, allocations: 35.91 kB / 0.9152 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009226/0.6683, allocations: 14.6 MB / 0.9295 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6683, allocations: 8.109 kB / 0.9295 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00467/0.673, allocations: 3.017 MB / 0.9324 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/0.6735, allocations: 314.8 kB / 0.9327 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.6736, allocations: 19.94 kB / 0.9327 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009441/0.6746, allocations: 295.5 kB / 0.933 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.6747, allocations: 84.62 kB / 0.9331 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.6748, allocations: 43.97 kB / 0.9331 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006975/0.6755, allocations: 0.7366 MB / 0.9339 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.6755, allocations: 0 / 0.9339 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001298/0.6768, allocations: 432 kB / 0.9343 GB, free: 11.26 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004703/0.6815, allocations: 3.593 MB / 0.9378 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004951/0.6864, allocations: 3.519 MB / 0.9412 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6864, allocations: 8.125 kB / 0.9412 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002635/0.6891, allocations: 2.313 MB / 0.9435 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.6904, allocations: 0.5245 MB / 0.944 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/0.71, allocations: 15.83 MB / 0.9595 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008423/0.7109, allocations: 0.802 MB / 0.9602 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008859/0.7117, allocations: 375.9 kB / 0.9606 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000547/0.7123, allocations: 0.5969 MB / 0.9612 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of SimCode: time 1.903e-06/0.7123, allocations: 0 / 0.9612 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06125/0.7735, allocations: 45.62 MB / 1.006 GB, free: 2.051 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/8.396, allocations: 9.391 kB / 1.006 GB, free: 2.047 MB / 0.7761 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_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_Lines_Examples_ACLine.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.426817776169628] Failed to read output from testmodel.py, exit status != 0: 8.495796871837229 8.504163918 7.934051964 Calling exit ...