Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.0007862/0.0007862, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009782/0.0009782, allocations: 208.1 kB / 22.25 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.9563/0.9563, allocations: 230.6 MB / 256 MB, free: 9.594 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.8198/0.8198, allocations: 203.5 MB / 0.5039 GB, free: 10.75 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.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo",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.001282/0.001282, allocations: 76.38 kB / 0.7178 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5375, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001661/0.5392, allocations: 0.6863 MB / 0.8181 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006814/0.5398, allocations: 0.8956 MB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.628e-05/0.5399, allocations: 0 / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.5399, allocations: 4.594 kB / 0.819 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-05/0.54, allocations: 4.734 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.5401, allocations: 31.97 kB / 0.819 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.016e-05/0.5402, allocations: 36.56 kB / 0.819 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.5403, allocations: 8.953 kB / 0.8191 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.5404, allocations: 18.56 kB / 0.8191 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/0.5404, allocations: 20.91 kB / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.5404, allocations: 3.844 kB / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.5405, allocations: 4.656 kB / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.5405, allocations: 10.42 kB / 0.8191 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.5405, allocations: 16.91 kB / 0.8191 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.488e-05/0.5406, allocations: 45.38 kB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5406, allocations: 4 kB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5406, allocations: 3.938 kB / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.5406, allocations: 0 / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004373/0.5411, allocations: 288.5 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.5411, allocations: 9.844 kB / 0.8195 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.5411, allocations: 39.17 kB / 0.8195 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.5412, allocations: 5.594 kB / 0.8195 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.453e-05/0.5412, allocations: 107.3 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.5413, allocations: 384 / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.5413, allocations: 6.438 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.5415, allocations: 70.31 kB / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.5415, allocations: 3.938 kB / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.5415, allocations: 0 / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.5415, allocations: 0 / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.5417, allocations: 68.95 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.542, allocations: 239 kB / 0.82 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.5421, allocations: 54 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.521e-05/0.5422, allocations: 41.05 kB / 0.8201 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.5423, allocations: 4.875 kB / 0.8201 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.5423, allocations: 30.56 kB / 0.8201 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5423, allocations: 3.938 kB / 0.8201 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003617/0.5426, allocations: 128.2 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.5427, allocations: 54.17 kB / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.5427, allocations: 111.5 kB / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.5428, allocations: 25.7 kB / 0.8204 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.5428, allocations: 91.75 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.5428, allocations: 12.36 kB / 0.8205 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.5429, allocations: 14.38 kB / 0.8205 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.721e-05/0.5429, allocations: 320.6 kB / 0.8208 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.543, allocations: 31.16 kB / 0.8209 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.477e-05/0.5431, allocations: 33.58 kB / 0.8209 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.5432, allocations: 84.89 kB / 0.821 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5432, allocations: 0 / 0.821 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001755/0.5434, allocations: 92.05 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.5434, allocations: 6.328 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.5434, allocations: 0 / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.5434, allocations: 0.5312 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-05/0.5435, allocations: 15.86 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.5435, allocations: 7.5 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.5436, allocations: 11.73 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.5436, allocations: 0.75 kB / 0.8211 GB, free: 14.43 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 (3): * Single equations (assignments): 3 * 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 5.752e-05/0.5436, allocations: 118.9 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.5437, allocations: 5.734 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.5437, allocations: 6.422 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5437, allocations: 5.438 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5437, allocations: 0 / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5437, allocations: 0.6094 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.5438, allocations: 141.9 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.92e-07/0.5438, allocations: 0 / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.5438, allocations: 16.72 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.5438, allocations: 0 / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.5439, allocations: 0.6562 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5439, allocations: 2.406 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5439, allocations: 0 / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.5441, allocations: 204.6 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.5441, allocations: 4.609 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.5441, allocations: 0 / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.217e-05/0.5441, allocations: 12.11 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.5442, allocations: 9.172 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.5442, allocations: 2.75 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.5442, allocations: 86.23 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5442, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001444/0.5444, allocations: 10.59 kB / 0.8217 GB, free: 13.88 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 (3): * Single equations (assignments): 3 * 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.0004233/0.5448, allocations: 0.7274 MB / 0.8224 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.545, allocations: 68.89 kB / 0.8225 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.545, allocations: 0 / 0.8225 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.562e-05/0.5451, allocations: 42.19 kB / 0.8225 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.5453, allocations: 3.625 kB / 0.8225 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.5457, allocations: 161.3 kB / 0.8227 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.286e-05/0.5458, allocations: 61.89 kB / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.5458, allocations: 3.188 kB / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.5459, allocations: 19.25 kB / 0.8228 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of SimCode: time 4.7e-07/0.5459, allocations: 0 / 0.8228 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.5614, allocations: 2.241 MB / 0.8249 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.207/7.769, allocations: 5.312 kB / 0.8249 GB, free: 12.05 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.791116097010672] Failed to read output from testmodel.py, exit status != 0: 7.8456943216733634 7.860980672 7.317745875 Calling exit ...