Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0008416/0.0008416, 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.0009785/0.0009785, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9788/0.9788, allocations: 230.6 MB / 256 MB, free: 9.578 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.7826/0.7826, allocations: 203.5 MB / 0.5039 GB, free: 10.66 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_L,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.001239/0.001239, allocations: 70.67 kB / 0.7178 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4956, 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_L): time 0.005585/0.5012, allocations: 5.908 MB / 0.8232 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004164/0.5054, allocations: 3.129 MB / 0.8262 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004932/0.5058, allocations: 41 kB / 0.8262 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.5074, allocations: 0.9374 MB / 0.8272 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.5085, allocations: 492.2 kB / 0.8276 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.5096, allocations: 489 kB / 0.8281 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.5108, allocations: 1.093 MB / 0.8292 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007438/0.5115, allocations: 0.5124 MB / 0.8297 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006963/0.5122, allocations: 458.6 kB / 0.8301 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007738/0.513, allocations: 466.2 kB / 0.8306 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.5131, allocations: 58.09 kB / 0.8306 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.5142, allocations: 442.1 kB / 0.831 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.5145, allocations: 294.8 kB / 0.8313 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003899/0.5149, allocations: 328.4 kB / 0.8316 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.5164, allocations: 1.192 MB / 0.8328 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5164, allocations: 0.6562 kB / 0.8328 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5164, allocations: 0 / 0.8328 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.5164, allocations: 1.406 kB / 0.8328 GB, free: 8.457 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001461/0.5179, allocations: 0.9974 MB / 0.8338 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.5179, allocations: 12.78 kB / 0.8338 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.518, allocations: 116.9 kB / 0.8339 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.5191, allocations: 220.8 kB / 0.8341 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007934/0.5199, allocations: 0.5201 MB / 0.8346 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.5199, allocations: 43.25 kB / 0.8346 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.216e-05/0.52, allocations: 66.25 kB / 0.8347 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.5214, allocations: 1.135 MB / 0.8358 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.5214, allocations: 10.89 kB / 0.8358 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.5215, allocations: 29.5 kB / 0.8359 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-05/0.5216, allocations: 72.89 kB / 0.8359 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008354/0.5224, allocations: 0.6882 MB / 0.8366 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/0.5257, allocations: 4.507 MB / 0.841 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.5263, allocations: 419.8 kB / 0.8414 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/0.5269, allocations: 386.6 kB / 0.8418 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.5269, allocations: 8.219 kB / 0.8418 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.5269, allocations: 33.66 kB / 0.8418 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.354e-06/0.5269, allocations: 0 / 0.8418 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.002663/0.5296, allocations: 1.717 MB / 0.8435 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.5296, allocations: 55.97 kB / 0.8435 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.53, allocations: 471.2 kB / 0.844 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.53, allocations: 31.23 kB / 0.844 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.5302, allocations: 394.7 kB / 0.8444 GB, free: 384 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.197e-05/0.5303, allocations: 159.1 kB / 0.8445 GB, free: 244 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.5304, allocations: 111.7 kB / 0.8447 GB, free: 172 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5306, allocations: 364.5 kB / 0.845 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.5308, allocations: 243 kB / 0.8452 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.5311, allocations: 463.1 kB / 0.8457 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006258/0.5318, allocations: 0.738 MB / 0.8464 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.5318, allocations: 2.344 kB / 0.8464 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001121/0.5329, allocations: 1.029 MB / 0.8474 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.5329, allocations: 9 kB / 0.8474 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.5329, allocations: 10.12 kB / 0.8474 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/0.5335, allocations: 324.3 kB / 0.8477 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.5337, allocations: 92.7 kB / 0.8478 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004598/0.5383, allocations: 7.029 MB / 0.8547 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.5387, allocations: 35.5 kB / 0.8547 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.5387, allocations: 29.14 kB / 0.8547 GB, free: 7.676 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003381/0.539, allocations: 244.6 kB / 0.855 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.5391, allocations: 64.88 kB / 0.855 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.5401, allocations: 0.8769 MB / 0.8559 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.5401, allocations: 9.219 kB / 0.8559 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5402, allocations: 4.344 kB / 0.8559 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.5402, allocations: 0 / 0.8559 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.5418, allocations: 1.58 MB / 0.8575 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5418, allocations: 2.344 kB / 0.8575 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.5419, allocations: 37.94 kB / 0.8575 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004857/0.5424, allocations: 310.8 kB / 0.8578 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.5424, allocations: 7.844 kB / 0.8578 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004324/0.5468, allocations: 7.011 MB / 0.8646 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5468, allocations: 6.594 kB / 0.8646 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.5479, allocations: 0.9712 MB / 0.8656 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.5481, allocations: 99.58 kB / 0.8657 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.5482, allocations: 11.56 kB / 0.8657 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.5483, allocations: 29.34 kB / 0.8657 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/0.5484, allocations: 43.45 kB / 0.8658 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.5484, allocations: 8.75 kB / 0.8658 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002498/0.5486, allocations: 306 kB / 0.8661 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.5486, allocations: 0 / 0.8661 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006727/0.5493, allocations: 197.4 kB / 0.8663 GB, free: 14.45 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001252/0.5506, allocations: 1.542 MB / 0.8678 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.5518, allocations: 1.154 MB / 0.8689 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5518, allocations: 0 / 0.8689 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006769/0.5525, allocations: 0.8255 MB / 0.8697 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/0.5531, allocations: 204 kB / 0.8699 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005908/0.559, allocations: 5.847 MB / 0.8756 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.5594, allocations: 402.1 kB / 0.876 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002789/0.5596, allocations: 97.34 kB / 0.8761 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.5598, allocations: 227.3 kB / 0.8763 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/0.5598, allocations: 0 / 0.8763 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.5944, allocations: 16.82 MB / 0.8927 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.233/7.827, allocations: 8.688 kB / 0.8927 GB, free: 6.965 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.776460089255124] Failed to read output from testmodel.py, exit status != 0: 7.918402546085417 7.92608223 7.407459244 Calling exit ...