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.0007657/0.0007657, 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.0007853/0.0007853, allocations: 213.7 kB / 22.25 MB, free: 3.566 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.935/0.935, allocations: 230.6 MB / 256 MB, free: 9.59 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.8026/0.8026, 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.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.0009997/0.0009997, allocations: 67.64 kB / 0.7178 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4902, allocations: 102 MB / 0.8174 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01037/0.5006, allocations: 10.32 MB / 0.8275 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.5113, allocations: 8.516 MB / 0.8358 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.5123, allocations: 77.53 kB / 0.8358 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.5147, allocations: 1.669 MB / 0.8375 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003949/0.5186, allocations: 1.566 MB / 0.839 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.5202, allocations: 0.6772 MB / 0.8397 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002622/0.5228, allocations: 2.291 MB / 0.8419 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.5241, allocations: 1.136 MB / 0.843 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.5256, allocations: 1.038 MB / 0.844 GB, free: 320 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.527, allocations: 1 MB / 0.845 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002759/0.5273, allocations: 143.3 kB / 0.8451 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.5287, allocations: 0.7375 MB / 0.8459 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007106/0.5294, allocations: 0.5743 MB / 0.8464 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009437/0.5304, allocations: 0.7257 MB / 0.8471 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002726/0.5331, allocations: 2.599 MB / 0.8497 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5331, allocations: 0.8438 kB / 0.8497 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5331, allocations: 3.938 kB / 0.8497 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.057e-05/0.5332, allocations: 0 / 0.8497 GB, free: 12.76 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.003076/0.5363, allocations: 1.993 MB / 0.8516 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5363, allocations: 13.69 kB / 0.8516 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001992/0.5365, allocations: 189.6 kB / 0.8518 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006238/0.5427, allocations: 2.053 MB / 0.8538 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.5449, allocations: 1.14 MB / 0.8549 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.545, allocations: 84.05 kB / 0.855 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.5452, allocations: 119.2 kB / 0.8551 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003899/0.5491, allocations: 2.885 MB / 0.8579 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.5491, allocations: 15.55 kB / 0.858 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.5493, allocations: 50.25 kB / 0.858 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002162/0.5495, allocations: 131.3 kB / 0.8581 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004123/0.5536, allocations: 2.535 MB / 0.8606 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00868/0.5623, allocations: 7.651 MB / 0.8681 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003342/0.5656, allocations: 1.843 MB / 0.8699 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.5671, allocations: 0.9429 MB / 0.8708 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.5671, allocations: 5 kB / 0.8708 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.5672, allocations: 39.84 kB / 0.8708 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.424e-06/0.5672, allocations: 0 / 0.8708 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.01684/0.584, allocations: 8.642 MB / 0.8793 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.584, allocations: 64 kB / 0.8793 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.5853, allocations: 1.12 MB / 0.8804 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.5854, allocations: 37.7 kB / 0.8805 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000365/0.5857, allocations: 0.7512 MB / 0.8812 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.5859, allocations: 297.4 kB / 0.8815 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.5862, allocations: 202.5 kB / 0.8817 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.5863, allocations: 341.9 kB / 0.882 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.5879, allocations: 1.075 MB / 0.8831 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.5897, allocations: 1.305 MB / 0.8843 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/0.5929, allocations: 2.382 MB / 0.8867 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.5929, allocations: 4 kB / 0.8867 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004774/0.5976, allocations: 3.262 MB / 0.8898 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.5977, allocations: 8 kB / 0.8899 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.5977, allocations: 4 kB / 0.8899 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/0.5993, allocations: 0.7836 MB / 0.8906 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00098/0.6003, allocations: 415.2 kB / 0.891 GB, free: 9.574 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009615/0.6099, allocations: 14.98 MB / 0.9057 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.6114, allocations: 291.5 kB / 0.9059 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.6115, allocations: 51.97 kB / 0.906 GB, free: 9.324 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.000612/0.6121, allocations: 397.5 kB / 0.9064 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.6123, allocations: 155.1 kB / 0.9065 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004576/0.6168, allocations: 3.179 MB / 0.9096 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.6168, allocations: 8 kB / 0.9096 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6168, allocations: 8 kB / 0.9096 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6169, allocations: 3.984 kB / 0.9096 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006295/0.6231, allocations: 4.624 MB / 0.9141 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6231, allocations: 0 / 0.9141 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007959/0.6239, allocations: 359.7 kB / 0.9145 GB, free: 456 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.6252, allocations: 0.6975 MB / 0.9152 GB, free: 15.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.555e-05/0.6252, allocations: 31.97 kB / 0.9152 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009338/0.6346, allocations: 14.6 MB / 0.9295 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.6346, allocations: 7.938 kB / 0.9295 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004759/0.6393, allocations: 3.021 MB / 0.9324 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006971/0.64, allocations: 311 kB / 0.9327 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.6402, allocations: 24 kB / 0.9327 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009747/0.6411, allocations: 295.4 kB / 0.933 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.6414, allocations: 84.44 kB / 0.9331 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.735e-05/0.6414, allocations: 39.97 kB / 0.9331 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007406/0.6422, allocations: 0.7366 MB / 0.9339 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6422, allocations: 0 / 0.9339 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001195/0.6434, allocations: 432 kB / 0.9343 GB, free: 11.16 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.004691/0.648, allocations: 3.594 MB / 0.9378 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005052/0.6531, allocations: 3.511 MB / 0.9412 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.6531, allocations: 4 kB / 0.9412 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002704/0.6558, allocations: 2.324 MB / 0.9435 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.6573, allocations: 0.5221 MB / 0.944 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02301/0.6804, allocations: 15.83 MB / 0.9595 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008604/0.6812, allocations: 0.8099 MB / 0.9602 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009659/0.6822, allocations: 367.9 kB / 0.9606 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/0.6827, allocations: 0.5969 MB / 0.9612 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of SimCode: time 1.763e-06/0.6827, allocations: 4 kB / 0.9612 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0676/0.7503, allocations: 45.62 MB / 1.006 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.73, allocations: 5.266 kB / 1.006 GB, free: 1.949 MB / 0.7761 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.720888388808817] Failed to read output from testmodel.py, exit status != 0: 8.830446664709598 8.838352463 8.303468987 Calling exit ...