Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.0007605/0.0007605, 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.0009517/0.0009517, allocations: 169.9 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.9218/0.9218, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7309/0.7309, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.752e-05, allocations: 4.75 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004984/0.005001, allocations: 5.191 MB / 0.6232 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003102/0.008104, allocations: 2.583 MB / 0.6257 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.008394, allocations: 31.75 kB / 0.6257 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.009566, allocations: 0.6844 MB / 0.6264 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006575/0.01022, allocations: 441.3 kB / 0.6268 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005986/0.01082, allocations: 397.8 kB / 0.6272 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0006002/0.01142, allocations: 0.9824 MB / 0.6282 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.01181, allocations: 378.5 kB / 0.6285 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.01224, allocations: 0.5065 MB / 0.629 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.01255, allocations: 366.9 kB / 0.6294 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.0126, allocations: 48 kB / 0.6294 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.01293, allocations: 351 kB / 0.6297 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.0131, allocations: 259.2 kB / 0.63 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.01325, allocations: 235.4 kB / 0.6302 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007004/0.01395, allocations: 0.9891 MB / 0.6312 GB, free: 232 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.01395, allocations: 4 kB / 0.6312 GB, free: 228 kB / 0.5886 GB Notification: Performance of FrontEnd: time 9.42e-07/0.01395, allocations: 0 / 0.6312 GB, free: 228 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.01396, allocations: 3.984 kB / 0.6312 GB, free: 224 kB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001174/0.01514, allocations: 0.9091 MB / 0.6321 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.01518, allocations: 12.03 kB / 0.6321 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.762e-05/0.01525, allocations: 102.7 kB / 0.6322 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006683/0.01592, allocations: 192.3 kB / 0.6324 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005016/0.01642, allocations: 462.9 kB / 0.6328 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.01645, allocations: 37.36 kB / 0.6329 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-05/0.01655, allocations: 48.56 kB / 0.6329 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007928/0.01734, allocations: 0.9789 MB / 0.6339 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.01736, allocations: 12.06 kB / 0.6339 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.0174, allocations: 27.92 kB / 0.6339 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.01751, allocations: 68.94 kB / 0.634 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/0.01813, allocations: 0.5735 MB / 0.6345 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/0.02068, allocations: 3.573 MB / 0.638 GB, free: 8.922 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.02098, allocations: 271.2 kB / 0.6383 GB, free: 8.648 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.02117, allocations: 213.3 kB / 0.6385 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.02119, allocations: 4.281 kB / 0.6385 GB, free: 8.434 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.02121, allocations: 38.84 kB / 0.6385 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.02122, allocations: 0 / 0.6385 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.003204/0.02442, allocations: 2.325 MB / 0.6408 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.02445, allocations: 55.41 kB / 0.6408 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.02478, allocations: 469.9 kB / 0.6413 GB, free: 5.477 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.02481, allocations: 33.7 kB / 0.6413 GB, free: 5.438 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.02498, allocations: 348.5 kB / 0.6416 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/0.02506, allocations: 146.8 kB / 0.6418 GB, free: 4.949 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.02517, allocations: 102.3 kB / 0.6419 GB, free: 4.844 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.00029/0.02546, allocations: 366.7 kB / 0.6422 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.0257, allocations: 241.2 kB / 0.6425 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.02603, allocations: 407.3 kB / 0.6429 GB, free: 3.766 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005852/0.02662, allocations: 0.6779 MB / 0.6435 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.02662, allocations: 4 kB / 0.6435 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009617/0.02758, allocations: 0.9132 MB / 0.6444 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.0276, allocations: 8 kB / 0.6444 GB, free: 2.074 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.02761, allocations: 4.656 kB / 0.6444 GB, free: 2.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004381/0.02805, allocations: 230.3 kB / 0.6446 GB, free: 1.836 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.02832, allocations: 115.8 kB / 0.6448 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003231/0.03155, allocations: 5.002 MB / 0.6496 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.03175, allocations: 40.09 kB / 0.6497 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.03177, allocations: 24 kB / 0.6497 GB, free: 12.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001945/0.03197, allocations: 225.6 kB / 0.6499 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.03202, allocations: 59.62 kB / 0.65 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008473/0.03287, allocations: 0.7657 MB / 0.6507 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.03287, allocations: 7.938 kB / 0.6507 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.03287, allocations: 0 / 0.6507 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.03288, allocations: 4 kB / 0.6507 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.03428, allocations: 1.4 MB / 0.6521 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.03428, allocations: 4 kB / 0.6521 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.03446, allocations: 67.88 kB / 0.6522 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003393/0.0348, allocations: 202.6 kB / 0.6524 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.03482, allocations: 12 kB / 0.6524 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002937/0.03776, allocations: 4.937 MB / 0.6572 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.03776, allocations: 4.031 kB / 0.6572 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.03887, allocations: 1.131 MB / 0.6583 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.039, allocations: 91.66 kB / 0.6584 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.03903, allocations: 11.94 kB / 0.6584 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.03919, allocations: 31.91 kB / 0.6584 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.03925, allocations: 35.88 kB / 0.6585 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.03927, allocations: 16.06 kB / 0.6585 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002132/0.03948, allocations: 314.9 kB / 0.6588 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.03948, allocations: 0 / 0.6588 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004181/0.0399, allocations: 168 kB / 0.6589 GB, free: 2.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001253/0.04115, allocations: 1.674 MB / 0.6606 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009771/0.04213, allocations: 0.9574 MB / 0.6615 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.04213, allocations: 4.125 kB / 0.6615 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.04264, allocations: 0.668 MB / 0.6622 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.04317, allocations: 173 kB / 0.6623 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.04806, allocations: 5.579 MB / 0.6678 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.04829, allocations: 346.2 kB / 0.6681 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000207/0.0485, allocations: 113 kB / 0.6682 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.04868, allocations: 208.4 kB / 0.6684 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.04868, allocations: 4 kB / 0.6684 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2683/0.317, allocations: 15.7 MB / 0.6838 GB, free: 94.78 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.351, allocations: 3.922 kB / 0.6838 GB, free: 94.78 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.116332160308957] Failed to read output from testmodel.py, exit status != 0: 7.439672572538257 7.448898449 7.433055395 Calling exit ...