Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.002026/0.002026, allocations: 72.45 kB / 19.02 MB, free: 1.109 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.002432/0.002432, allocations: 163.2 kB / 22.29 MB, free: 3.52 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.452/1.452, allocations: 177.2 MB / 202.7 MB, free: 4.805 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.216/1.216, allocations: 154.7 MB / 413.8 MB, free: 3.129 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.Conversions.Validation.IntegerToReal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",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.002051/0.002051, allocations: 65.83 kB / 0.618 GB, free: 1.152 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.2357/0.2377, allocations: 102 MB / 0.7176 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002207/0.2399, allocations: 0.6557 MB / 0.7182 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2413, allocations: 0.8549 MB / 0.7191 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.2414, allocations: 0 / 0.7191 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.126e-05/0.2414, allocations: 7.938 kB / 0.7191 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.527e-05/0.2415, allocations: 7.938 kB / 0.7191 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.2417, allocations: 19.97 kB / 0.7191 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.2419, allocations: 39.92 kB / 0.7192 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.2421, allocations: 16.25 kB / 0.7192 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2422, allocations: 23.92 kB / 0.7192 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.194e-05/0.2422, allocations: 19.92 kB / 0.7192 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.2423, allocations: 4 kB / 0.7192 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.2423, allocations: 4 kB / 0.7192 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.2423, allocations: 15.92 kB / 0.7192 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.2423, allocations: 23.91 kB / 0.7193 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.2425, allocations: 47.75 kB / 0.7193 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2425, allocations: 0 / 0.7193 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2425, allocations: 0 / 0.7193 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.2425, allocations: 0 / 0.7193 GB, free: 9.535 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006116/0.2431, allocations: 278.2 kB / 0.7196 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.2432, allocations: 12.03 kB / 0.7196 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.2432, allocations: 30.75 kB / 0.7196 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.2432, allocations: 4.938 kB / 0.7196 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.2434, allocations: 118.4 kB / 0.7197 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.2434, allocations: 12.36 kB / 0.7197 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.2435, allocations: 8.359 kB / 0.7197 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.2437, allocations: 66.16 kB / 0.7198 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2437, allocations: 7.875 kB / 0.7198 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2437, allocations: 0 / 0.7198 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2437, allocations: 4 kB / 0.7198 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.244, allocations: 47.95 kB / 0.7199 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.2445, allocations: 247.9 kB / 0.7201 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.2447, allocations: 66.48 kB / 0.7202 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.2448, allocations: 32.91 kB / 0.7202 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.2448, allocations: 3.984 kB / 0.7202 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.2449, allocations: 30.56 kB / 0.7202 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.2449, allocations: 0 / 0.7202 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004686/0.2453, allocations: 109.6 kB / 0.7203 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.2454, allocations: 55.41 kB / 0.7204 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2455, allocations: 105.8 kB / 0.7205 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.2455, allocations: 29.64 kB / 0.7205 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.2456, allocations: 88.14 kB / 0.7206 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.2456, allocations: 11.89 kB / 0.7206 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.2456, allocations: 17.72 kB / 0.7206 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2458, allocations: 318.8 kB / 0.7209 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.2459, allocations: 23.97 kB / 0.721 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.246, allocations: 23.97 kB / 0.721 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.2463, allocations: 60.81 kB / 0.721 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2463, allocations: 0 / 0.721 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002567/0.2465, allocations: 73.66 kB / 0.7211 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.2465, allocations: 10.19 kB / 0.7211 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2465, allocations: 0 / 0.7211 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2466, allocations: 0 / 0.7211 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2467, allocations: 19.92 kB / 0.7211 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.2467, allocations: 7.984 kB / 0.7211 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.453e-05/0.2468, allocations: 11.89 kB / 0.7212 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.2468, allocations: 4 kB / 0.7212 GB, free: 7.438 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: 1 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001177/0.2469, allocations: 113.8 kB / 0.7213 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.2469, allocations: 4 kB / 0.7213 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.247, allocations: 8 kB / 0.7213 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.247, allocations: 3.938 kB / 0.7213 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.247, allocations: 0 / 0.7213 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.247, allocations: 0 / 0.7213 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.2472, allocations: 144.8 kB / 0.7214 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2472, allocations: 4 kB / 0.7214 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.473e-05/0.2473, allocations: 12.23 kB / 0.7214 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2473, allocations: 3.984 kB / 0.7214 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.2473, allocations: 8 kB / 0.7214 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2473, allocations: 0 / 0.7214 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2473, allocations: 0 / 0.7214 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.2476, allocations: 187.3 kB / 0.7216 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.2477, allocations: 4 kB / 0.7216 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.2477, allocations: 8 kB / 0.7216 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.956e-05/0.2478, allocations: 11.92 kB / 0.7216 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.2478, allocations: 11.98 kB / 0.7217 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.2478, allocations: 0 / 0.7217 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.2479, allocations: 79.28 kB / 0.7217 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2479, allocations: 0 / 0.7217 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002383/0.2481, allocations: 12 kB / 0.7217 GB, free: 6.762 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: 1 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006893/0.2488, allocations: 0.7205 MB / 0.7224 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.2491, allocations: 55.94 kB / 0.7225 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2491, allocations: 0 / 0.7225 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.2493, allocations: 31.97 kB / 0.7225 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.2496, allocations: 4 kB / 0.7225 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.2515, allocations: 1.329 MB / 0.7238 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.655e-05/0.2516, allocations: 67.34 kB / 0.7239 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.981e-05/0.2517, allocations: 3.984 kB / 0.7239 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.2517, allocations: 16.5 kB / 0.7239 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.2517, allocations: 4 kB / 0.7239 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03796/0.2897, allocations: 2.512 MB / 0.7264 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.71, allocations: 8.094 kB / 0.7264 GB, free: 2.016 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.782941761004622] Failed to read output from testmodel.py, exit status != 0: 11.817727240006207 11.837357766 11.591065631 Calling exit ...