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.0007957/0.0007957, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000885/0.000885, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9345/0.9345, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7303/0.7303, allocations: 154.6 MB / 413.8 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.217e-05, allocations: 4.531 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.008881/0.008904, allocations: 10.17 MB / 0.628 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.009977/0.01888, allocations: 8.382 MB / 0.6362 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.02026, allocations: 75.31 kB / 0.6363 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.0228, allocations: 1.682 MB / 0.6379 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.0266, allocations: 1.615 MB / 0.6395 GB, free: 7.664 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.02819, allocations: 0.6851 MB / 0.6402 GB, free: 6.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0034/0.03159, allocations: 2.367 MB / 0.6425 GB, free: 4.605 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.03318, allocations: 1.145 MB / 0.6436 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.03524, allocations: 1.387 MB / 0.645 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.03665, allocations: 0.8959 MB / 0.6458 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.03684, allocations: 144 kB / 0.646 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.03807, allocations: 0.7482 MB / 0.6467 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004527/0.03852, allocations: 0.6075 MB / 0.6473 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008177/0.03934, allocations: 0.6001 MB / 0.6479 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.04257, allocations: 2.609 MB / 0.6504 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.04258, allocations: 0 / 0.6504 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.797e-06/0.04258, allocations: 0 / 0.6504 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.85e-05/0.04267, allocations: 0 / 0.6504 GB, free: 12.41 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002946/0.04561, allocations: 1.975 MB / 0.6524 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.04567, allocations: 8.031 kB / 0.6524 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/0.04587, allocations: 194.1 kB / 0.6526 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005985/0.05185, allocations: 2.059 MB / 0.6546 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.05389, allocations: 1.133 MB / 0.6557 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.05394, allocations: 90.69 kB / 0.6558 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.05414, allocations: 124.3 kB / 0.6559 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/0.0576, allocations: 2.885 MB / 0.6587 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.05763, allocations: 7.938 kB / 0.6587 GB, free: 3.594 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.05773, allocations: 55.92 kB / 0.6588 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001956/0.05793, allocations: 130.1 kB / 0.6589 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004056/0.06199, allocations: 2.533 MB / 0.6614 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007636/0.06962, allocations: 7.635 MB / 0.6688 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/0.07281, allocations: 1.842 MB / 0.6706 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.07426, allocations: 0.9427 MB / 0.6715 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.0743, allocations: 4.5 kB / 0.6715 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.07432, allocations: 43 kB / 0.6716 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 2.465e-06/0.07433, allocations: 0 / 0.6716 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=81): time 0.3012/0.3756, allocations: 8.644 MB / 0.68 GB, free: 96.49 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.3756, allocations: 63.98 kB / 0.6801 GB, free: 96.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008382/0.3764, allocations: 1.109 MB / 0.6812 GB, free: 95.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.754e-05/0.3765, allocations: 40.67 kB / 0.6812 GB, free: 95.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.3768, allocations: 0.7499 MB / 0.6819 GB, free: 95.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.3769, allocations: 287.2 kB / 0.6822 GB, free: 95.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.3771, allocations: 202.7 kB / 0.6824 GB, free: 95.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.3772, allocations: 349.6 kB / 0.6827 GB, free: 94.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.3786, allocations: 1.079 MB / 0.6838 GB, free: 94.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.3801, allocations: 1.304 MB / 0.6851 GB, free: 94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/0.3831, allocations: 2.381 MB / 0.6874 GB, free: 93.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3831, allocations: 6.219 kB / 0.6874 GB, free: 93.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004371/0.3874, allocations: 3.249 MB / 0.6906 GB, free: 92.08 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3875, allocations: 7.969 kB / 0.6906 GB, free: 92.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.3875, allocations: 17.28 kB / 0.6906 GB, free: 92.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.3888, allocations: 0.7849 MB / 0.6914 GB, free: 91.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008832/0.3897, allocations: 413.5 kB / 0.6918 GB, free: 91.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007234/0.3969, allocations: 14.97 MB / 0.7064 GB, free: 79.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.398, allocations: 289.8 kB / 0.7066 GB, free: 79.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.398, allocations: 50.86 kB / 0.7067 GB, free: 79.66 MB / 0.6355 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.0004676/0.3985, allocations: 397.3 kB / 0.7071 GB, free: 79.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.3986, allocations: 162 kB / 0.7072 GB, free: 79.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004113/0.4028, allocations: 3.172 MB / 0.7103 GB, free: 78.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4028, allocations: 7.469 kB / 0.7103 GB, free: 78.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4028, allocations: 12.53 kB / 0.7103 GB, free: 78.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4028, allocations: 3.328 kB / 0.7104 GB, free: 78.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006267/0.409, allocations: 4.62 MB / 0.7149 GB, free: 76.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.4091, allocations: 2.219 kB / 0.7149 GB, free: 76.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008538/0.4099, allocations: 352.4 kB / 0.7152 GB, free: 76.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.4112, allocations: 0.6988 MB / 0.7159 GB, free: 76.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/0.4113, allocations: 33.5 kB / 0.7159 GB, free: 76.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008383/0.4197, allocations: 14.59 MB / 0.7302 GB, free: 64.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.4197, allocations: 6.875 kB / 0.7302 GB, free: 64.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004995/0.4247, allocations: 3.014 MB / 0.7331 GB, free: 63.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006622/0.4253, allocations: 312.1 kB / 0.7334 GB, free: 63.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.4255, allocations: 19.77 kB / 0.7334 GB, free: 63.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.4265, allocations: 287.6 kB / 0.7337 GB, free: 63.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.4268, allocations: 86.09 kB / 0.7338 GB, free: 63.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/0.4269, allocations: 42.66 kB / 0.7338 GB, free: 63.15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007885/0.4277, allocations: 0.737 MB / 0.7345 GB, free: 62.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4277, allocations: 7.281 kB / 0.7346 GB, free: 62.85 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001433/0.4291, allocations: 433.6 kB / 0.735 GB, free: 62.82 MB / 0.6355 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.005315/0.4345, allocations: 3.587 MB / 0.7385 GB, free: 61.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00571/0.4402, allocations: 3.511 MB / 0.7419 GB, free: 59.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.4402, allocations: 1.25 kB / 0.7419 GB, free: 59.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002937/0.4431, allocations: 2.325 MB / 0.7442 GB, free: 58.37 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.4448, allocations: 0.5222 MB / 0.7447 GB, free: 58.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/0.4685, allocations: 15.84 MB / 0.7602 GB, free: 50.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/0.4691, allocations: 0.798 MB / 0.7609 GB, free: 50.37 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001083/0.4702, allocations: 379.7 kB / 0.7613 GB, free: 50.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/0.4707, allocations: 0.5969 MB / 0.7619 GB, free: 49.65 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.4707, allocations: 0 / 0.7619 GB, free: 49.65 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06094/0.5317, allocations: 45.61 MB / 0.8064 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.482, allocations: 6.453 kB / 0.8064 GB, free: 6.352 MB / 0.6355 GB " [Timeout remaining time 651] (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.390314650721848] Failed to read output from testmodel.py, exit status != 0: 8.586648935452104 8.60016623 8.554768944 Calling exit ...