Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.001276/0.001276, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.001405/0.001405, allocations: 171.1 kB / 22.29 MB, free: 3.516 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.41/1.41, 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.237/1.237, allocations: 154.7 MB / 413.8 MB, free: 3.156 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.Sources.Validation.Ramp,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",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.003097/0.003097, allocations: 72.98 kB / 0.6181 GB, free: 1.125 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.2331/0.2362, allocations: 102 MB / 0.7177 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002434/0.2386, allocations: 0.5979 MB / 0.7183 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.2399, allocations: 0.8086 MB / 0.7191 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.24, allocations: 0 / 0.7191 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.24, allocations: 0 / 0.7191 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.576e-05/0.2401, allocations: 3.938 kB / 0.7191 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.588e-05/0.2401, allocations: 11.98 kB / 0.7191 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.704e-05/0.2402, allocations: 8 kB / 0.7191 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.14e-05/0.2403, allocations: 4 kB / 0.7191 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.2404, allocations: 15.92 kB / 0.7191 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.019e-05/0.2404, allocations: 7.922 kB / 0.7191 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.2404, allocations: 11.94 kB / 0.7191 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-06/0.2404, allocations: 0 / 0.7191 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.2405, allocations: 4 kB / 0.7191 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.2405, allocations: 3.938 kB / 0.7191 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.2406, allocations: 24.17 kB / 0.7192 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2406, allocations: 0 / 0.7192 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2406, allocations: 0 / 0.7192 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.2406, allocations: 4 kB / 0.7192 GB, free: 9.734 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000551/0.2412, allocations: 254.4 kB / 0.7194 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.2412, allocations: 8.031 kB / 0.7194 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.2413, allocations: 34.75 kB / 0.7194 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.2413, allocations: 4.922 kB / 0.7194 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.2415, allocations: 110.5 kB / 0.7195 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.2415, allocations: 384 / 0.7195 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.2415, allocations: 384 / 0.7195 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.2417, allocations: 46.25 kB / 0.7196 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2417, allocations: 3.938 kB / 0.7196 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.2417, allocations: 0 / 0.7196 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2417, allocations: 0 / 0.7196 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.2419, allocations: 43.83 kB / 0.7196 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.2421, allocations: 116.8 kB / 0.7197 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.2422, allocations: 34.58 kB / 0.7198 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.919e-05/0.2423, allocations: 20.89 kB / 0.7198 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.2423, allocations: 0 / 0.7198 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.2423, allocations: 38.56 kB / 0.7198 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.2423, allocations: 0 / 0.7198 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0003763/0.2427, allocations: 85.52 kB / 0.7199 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.2428, allocations: 51.41 kB / 0.72 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.2429, allocations: 97.86 kB / 0.7201 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2429, allocations: 25.7 kB / 0.7201 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.2429, allocations: 80.14 kB / 0.7202 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.243, allocations: 7.984 kB / 0.7202 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.243, allocations: 9.719 kB / 0.7202 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.2432, allocations: 314.8 kB / 0.7205 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.2433, allocations: 16.11 kB / 0.7205 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.2434, allocations: 15.98 kB / 0.7205 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.2436, allocations: 40.75 kB / 0.7206 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2436, allocations: 0 / 0.7206 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002222/0.2438, allocations: 65.69 kB / 0.7206 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.2438, allocations: 10.12 kB / 0.7206 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2438, allocations: 0 / 0.7206 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.2438, allocations: 0 / 0.7206 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.2439, allocations: 15.92 kB / 0.7206 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2439, allocations: 0 / 0.7206 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.244, allocations: 11.98 kB / 0.7206 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.244, allocations: 0 / 0.7206 GB, free: 8.008 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 (1): * Single equations (assignments): 1 * 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.0001064/0.2441, allocations: 105.8 kB / 0.7208 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.2441, allocations: 7.969 kB / 0.7208 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.2442, allocations: 11.16 kB / 0.7208 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2442, allocations: 0 / 0.7208 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2442, allocations: 0 / 0.7208 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2442, allocations: 0 / 0.7208 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.2443, allocations: 120.8 kB / 0.7209 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2443, allocations: 0 / 0.7209 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.2444, allocations: 7.984 kB / 0.7209 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2444, allocations: 7.875 kB / 0.7209 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.2444, allocations: 0 / 0.7209 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2444, allocations: 3.938 kB / 0.7209 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2444, allocations: 8 kB / 0.7209 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.2446, allocations: 85.09 kB / 0.721 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.2447, allocations: 0 / 0.721 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.2447, allocations: 3.938 kB / 0.721 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.436e-05/0.2447, allocations: 4 kB / 0.721 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.2448, allocations: 7.984 kB / 0.721 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.2448, allocations: 0 / 0.721 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.251e-05/0.2448, allocations: 79.28 kB / 0.7211 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2448, allocations: 4.031 kB / 0.7211 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001854/0.245, allocations: 4 kB / 0.7211 GB, free: 7.488 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0006769/0.2457, allocations: 0.6201 MB / 0.7217 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.2459, allocations: 35.95 kB / 0.7217 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2459, allocations: 96 / 0.7217 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.253e-05/0.246, allocations: 15.98 kB / 0.7217 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.2463, allocations: 8 kB / 0.7218 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.2468, allocations: 127.1 kB / 0.7219 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.637e-05/0.2468, allocations: 59.34 kB / 0.7219 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.2468, allocations: 4 kB / 0.7219 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.2469, allocations: 8.5 kB / 0.7219 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.2469, allocations: 0 / 0.7219 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.2782, allocations: 1.867 MB / 0.7238 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.54, allocations: 4.5 kB / 0.7238 GB, free: 4.758 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.607464244996663] Failed to read output from testmodel.py, exit status != 0: 11.646086439010105 11.672422833 11.426367784 Calling exit ...