Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.001321/0.001321, allocations: 68.47 kB / 19.02 MB, free: 1.137 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.001467/0.001467, allocations: 159.8 kB / 22.29 MB, free: 3.535 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 1.425/1.425, allocations: 177.2 MB / 202.7 MB, free: 4.816 MB / 186.7 MB " [Timeout remaining time 178] 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 1.249/1.249, allocations: 154.7 MB / 413.8 MB, free: 3.125 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.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",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.00224/0.00224, allocations: 66.47 kB / 0.6181 GB, free: 1.066 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2027, allocations: 102 MB / 0.7177 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.002326/0.2051, allocations: 0.8273 MB / 0.7185 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.2065, allocations: 0.9172 MB / 0.7194 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.2066, allocations: 0 / 0.7194 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.808e-05/0.2066, allocations: 15.8 kB / 0.7194 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.918e-05/0.2067, allocations: 15.88 kB / 0.7194 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.207, allocations: 59.91 kB / 0.7195 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.2072, allocations: 143.7 kB / 0.7196 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.2074, allocations: 53.61 kB / 0.7197 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.2075, allocations: 75.77 kB / 0.7198 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.9e-05/0.2076, allocations: 55.69 kB / 0.7198 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.2077, allocations: 12 kB / 0.7198 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.322e-05/0.2077, allocations: 12 kB / 0.7198 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.2077, allocations: 31.91 kB / 0.7199 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.2078, allocations: 47.73 kB / 0.7199 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.208, allocations: 147.4 kB / 0.7201 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.208, allocations: 0 / 0.7201 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.208, allocations: 0 / 0.7201 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.208, allocations: 0 / 0.7201 GB, free: 8.781 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007203/0.2087, allocations: 371.8 kB / 0.7204 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.2088, allocations: 12.03 kB / 0.7204 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.774e-05/0.2088, allocations: 46.73 kB / 0.7205 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.2089, allocations: 16.84 kB / 0.7205 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.2092, allocations: 162.3 kB / 0.7206 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.2092, allocations: 8.375 kB / 0.7206 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.2093, allocations: 16.31 kB / 0.7207 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.2097, allocations: 223.3 kB / 0.7209 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.2097, allocations: 3.938 kB / 0.7209 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.2097, allocations: 7.984 kB / 0.7209 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2097, allocations: 4 kB / 0.7209 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.21, allocations: 127.9 kB / 0.721 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008977/0.2109, allocations: 435.4 kB / 0.7214 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.2111, allocations: 82.47 kB / 0.7215 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.2113, allocations: 40.83 kB / 0.7215 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.2113, allocations: 8.125 kB / 0.7216 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.2113, allocations: 38.56 kB / 0.7216 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.2113, allocations: 0 / 0.7216 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005404/0.2119, allocations: 157.8 kB / 0.7217 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.2119, allocations: 55.41 kB / 0.7218 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.2121, allocations: 192.1 kB / 0.722 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2122, allocations: 29.8 kB / 0.722 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.302e-05/0.2123, allocations: 120 kB / 0.7221 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.2123, allocations: 35.69 kB / 0.7222 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.358e-05/0.2124, allocations: 29.72 kB / 0.7222 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2126, allocations: 322.8 kB / 0.7225 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.2127, allocations: 39.97 kB / 0.7225 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.2128, allocations: 43.97 kB / 0.7226 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.2131, allocations: 96.81 kB / 0.7227 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2131, allocations: 3.938 kB / 0.7227 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003524/0.2134, allocations: 148.8 kB / 0.7228 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2135, allocations: 4 kB / 0.7228 GB, free: 5.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2135, allocations: 0 / 0.7228 GB, free: 5.742 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.2135, allocations: 7.984 kB / 0.7228 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2136, allocations: 23.98 kB / 0.7228 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2137, allocations: 0 / 0.7228 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.2138, allocations: 15.84 kB / 0.7229 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.2138, allocations: 8 kB / 0.7229 GB, free: 5.688 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002695/0.2141, allocations: 125.7 kB / 0.723 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.2141, allocations: 27.88 kB / 0.723 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/0.2145, allocations: 143 kB / 0.7231 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2145, allocations: 4 kB / 0.7232 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2145, allocations: 0 / 0.7232 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2145, allocations: 0 / 0.7232 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.2152, allocations: 404 kB / 0.7235 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2152, allocations: 8.094 kB / 0.7235 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.2153, allocations: 23.92 kB / 0.7236 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.2153, allocations: 3.984 kB / 0.7236 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.2153, allocations: 4 kB / 0.7236 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2153, allocations: 0 / 0.7236 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2153, allocations: 0 / 0.7236 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.2157, allocations: 249.9 kB / 0.7238 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.2157, allocations: 12.09 kB / 0.7238 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.2158, allocations: 12 kB / 0.7238 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.2159, allocations: 15.92 kB / 0.7239 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.216, allocations: 11.92 kB / 0.7239 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.216, allocations: 8 kB / 0.7239 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001394/0.2161, allocations: 150 kB / 0.724 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2161, allocations: 0 / 0.724 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002601/0.2164, allocations: 24 kB / 0.724 GB, free: 4.379 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007986/0.2172, allocations: 0.7695 MB / 0.7248 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.2175, allocations: 95.86 kB / 0.7249 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.2175, allocations: 8 kB / 0.7249 GB, free: 3.473 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.2176, allocations: 43.91 kB / 0.7249 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.218, allocations: 15.94 kB / 0.7249 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.2208, allocations: 1.887 MB / 0.7268 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.2209, allocations: 102.7 kB / 0.7269 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.518e-05/0.221, allocations: 13.14 kB / 0.7269 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.751e-05/0.2211, allocations: 40.48 kB / 0.7269 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of SimCode: time 1.432e-06/0.2211, allocations: 0 / 0.7269 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/0.2551, allocations: 3.532 MB / 0.7304 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.57, allocations: 7.984 kB / 0.7304 GB, free: 13.83 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.629135427996516] Failed to read output from testmodel.py, exit status != 0: 11.683425579001778 11.715008774 11.501346027 Calling exit ...