Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0008896/0.0008896, allocations: 109.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.0008917/0.0008917, allocations: 214.2 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.9402/0.9402, allocations: 230.6 MB / 256 MB, free: 9.617 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.7596/0.7596, 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.001045/0.001045, allocations: 66.17 kB / 0.7178 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.4976, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006312/0.5039, allocations: 6.492 MB / 0.8237 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004525/0.5084, allocations: 3.031 MB / 0.8267 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000736/0.5091, allocations: 39.44 kB / 0.8267 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.5107, allocations: 0.956 MB / 0.8276 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.512, allocations: 0.519 MB / 0.8282 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009615/0.513, allocations: 426.7 kB / 0.8286 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.5141, allocations: 1.224 MB / 0.8298 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007166/0.5148, allocations: 0.5282 MB / 0.8303 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006951/0.5155, allocations: 494.8 kB / 0.8307 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000745/0.5163, allocations: 0.5117 MB / 0.8312 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.773e-05/0.5164, allocations: 67.12 kB / 0.8313 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.517, allocations: 342.5 kB / 0.8316 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.5172, allocations: 309.8 kB / 0.8319 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004305/0.5177, allocations: 379.4 kB / 0.8323 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.5197, allocations: 1.225 MB / 0.8335 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.5197, allocations: 5.312 kB / 0.8335 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.936e-06/0.5197, allocations: 0 / 0.8335 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.221e-05/0.5198, allocations: 0 / 0.8335 GB, free: 8.027 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00215/0.5219, allocations: 1.119 MB / 0.8346 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.522, allocations: 9.25 kB / 0.8346 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.5221, allocations: 116.3 kB / 0.8347 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.5232, allocations: 238.3 kB / 0.8349 GB, free: 7.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007626/0.5239, allocations: 0.5339 MB / 0.8355 GB, free: 6.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.524, allocations: 47.86 kB / 0.8355 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-05/0.524, allocations: 65.02 kB / 0.8356 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.5254, allocations: 1.338 MB / 0.8369 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.5255, allocations: 11.16 kB / 0.8369 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.332e-05/0.5255, allocations: 34.17 kB / 0.8369 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001399/0.5256, allocations: 84.69 kB / 0.837 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.5267, allocations: 0.7482 MB / 0.8377 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.5304, allocations: 4.638 MB / 0.8423 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/0.5312, allocations: 0.5092 MB / 0.8428 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.5315, allocations: 286.2 kB / 0.843 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.5315, allocations: 5.625 kB / 0.843 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.5315, allocations: 39.28 kB / 0.8431 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.685e-06/0.5315, allocations: 0 / 0.8431 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.002641/0.5341, allocations: 1.682 MB / 0.8447 GB, free: 272 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.5342, allocations: 61.05 kB / 0.8448 GB, free: 204 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005479/0.5347, allocations: 0.5646 MB / 0.8453 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.5348, allocations: 36.2 kB / 0.8454 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.5351, allocations: 433.3 kB / 0.8458 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.5352, allocations: 183.2 kB / 0.8459 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.5353, allocations: 116.8 kB / 0.8461 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5354, allocations: 378.3 kB / 0.8464 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.5357, allocations: 271.5 kB / 0.8467 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.5362, allocations: 498.7 kB / 0.8471 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009156/0.5371, allocations: 0.8044 MB / 0.8479 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5371, allocations: 1.656 kB / 0.8479 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001292/0.5384, allocations: 1.088 MB / 0.849 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.5384, allocations: 7.812 kB / 0.849 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.5384, allocations: 7.062 kB / 0.849 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/0.539, allocations: 274.3 kB / 0.8493 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.5393, allocations: 128.9 kB / 0.8494 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.5442, allocations: 6.684 MB / 0.8559 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/0.5447, allocations: 41.67 kB / 0.856 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.5448, allocations: 28.38 kB / 0.856 GB, free: 6.816 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0003653/0.5451, allocations: 258.6 kB / 0.8562 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.5452, allocations: 75.52 kB / 0.8563 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.5463, allocations: 0.8835 MB / 0.8572 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.5463, allocations: 5.5 kB / 0.8572 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5463, allocations: 2.719 kB / 0.8572 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5463, allocations: 5.266 kB / 0.8572 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.5481, allocations: 1.61 MB / 0.8588 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5481, allocations: 5.094 kB / 0.8588 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.5483, allocations: 59.83 kB / 0.8588 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/0.5487, allocations: 262.1 kB / 0.8591 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.5488, allocations: 12.03 kB / 0.8591 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004399/0.5532, allocations: 6.676 MB / 0.8656 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5532, allocations: 2.594 kB / 0.8656 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.5544, allocations: 0.971 MB / 0.8666 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.5546, allocations: 123.5 kB / 0.8667 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.5547, allocations: 12.62 kB / 0.8667 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.5549, allocations: 27.91 kB / 0.8667 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/0.555, allocations: 51.97 kB / 0.8668 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.555, allocations: 14.94 kB / 0.8668 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003433/0.5553, allocations: 381.2 kB / 0.8671 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5553, allocations: 1.125 kB / 0.8671 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007917/0.5561, allocations: 225.1 kB / 0.8674 GB, free: 13.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/0.5574, allocations: 1.538 MB / 0.8689 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001432/0.5588, allocations: 1.225 MB / 0.87 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5588, allocations: 0 / 0.87 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.5599, allocations: 0.868 MB / 0.8709 GB, free: 11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007053/0.5606, allocations: 227.7 kB / 0.8711 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/0.5673, allocations: 6.37 MB / 0.8773 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.5676, allocations: 411.5 kB / 0.8777 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003434/0.5679, allocations: 129.9 kB / 0.8779 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.5681, allocations: 247.4 kB / 0.8781 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of SimCode: time 1.402e-06/0.5681, allocations: 0 / 0.8781 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.6071, allocations: 19.24 MB / 0.8969 GB, free: 2.77 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/7.8, allocations: 6 kB / 0.8969 GB, free: 2.766 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.652835881803185] Failed to read output from testmodel.py, exit status != 0: 7.888915489427745 7.895992453 7.374397189 Calling exit ...