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.001606/0.001606, allocations: 72.45 kB / 19.02 MB, free: 1.105 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.001949/0.001949, allocations: 159.2 kB / 22.29 MB, free: 3.512 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.409/1.409, allocations: 177.2 MB / 202.7 MB, free: 4.824 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.25/1.25, allocations: 154.7 MB / 413.8 MB, free: 3.145 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.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.002049/0.002049, allocations: 69.56 kB / 0.6181 GB, free: 1.035 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.1994/0.2015, allocations: 102 MB / 0.7177 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002898/0.2044, allocations: 0.6791 MB / 0.7184 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.206, allocations: 0.8943 MB / 0.7192 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.2061, allocations: 0 / 0.7192 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.128e-05/0.2061, allocations: 3.938 kB / 0.7193 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.349e-05/0.2062, allocations: 3.938 kB / 0.7193 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.2064, allocations: 23.98 kB / 0.7193 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.2065, allocations: 51.77 kB / 0.7193 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.2067, allocations: 8 kB / 0.7193 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.2068, allocations: 27.91 kB / 0.7194 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.2068, allocations: 15.92 kB / 0.7194 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.2069, allocations: 8 kB / 0.7194 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.2069, allocations: 4 kB / 0.7194 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.2069, allocations: 4 kB / 0.7194 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.2069, allocations: 15.92 kB / 0.7194 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.207, allocations: 44.08 kB / 0.7195 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.207, allocations: 0 / 0.7195 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.973e-06/0.207, allocations: 0 / 0.7195 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.2071, allocations: 3.938 kB / 0.7195 GB, free: 9.371 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005774/0.2076, allocations: 286.2 kB / 0.7197 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2077, allocations: 20.02 kB / 0.7197 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.2077, allocations: 30.75 kB / 0.7198 GB, free: 9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.2077, allocations: 12.83 kB / 0.7198 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2079, allocations: 106.5 kB / 0.7199 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.2079, allocations: 8.375 kB / 0.7199 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.2079, allocations: 384 / 0.7199 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.2082, allocations: 70.22 kB / 0.72 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.2082, allocations: 3.938 kB / 0.72 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2082, allocations: 7.984 kB / 0.72 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2082, allocations: 4 kB / 0.72 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.2085, allocations: 59.94 kB / 0.72 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.2089, allocations: 235.9 kB / 0.7203 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.2091, allocations: 54.55 kB / 0.7203 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.2093, allocations: 40.91 kB / 0.7204 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.2093, allocations: 7.938 kB / 0.7204 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2093, allocations: 30.56 kB / 0.7204 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.2093, allocations: 0 / 0.7204 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005846/0.2099, allocations: 129.5 kB / 0.7205 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.21, allocations: 55.41 kB / 0.7206 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2101, allocations: 109.8 kB / 0.7207 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.2101, allocations: 29.7 kB / 0.7207 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.2102, allocations: 80.14 kB / 0.7208 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.2102, allocations: 15.91 kB / 0.7208 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.2102, allocations: 9.719 kB / 0.7208 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2104, allocations: 322.8 kB / 0.7211 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.2105, allocations: 27.97 kB / 0.7211 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.2107, allocations: 35.95 kB / 0.7212 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.211, allocations: 69 kB / 0.7212 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.211, allocations: 0 / 0.7212 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003511/0.2113, allocations: 105.5 kB / 0.7213 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2113, allocations: 12 kB / 0.7213 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2113, allocations: 0 / 0.7213 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2113, allocations: 0 / 0.7213 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.2115, allocations: 15.98 kB / 0.7214 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2115, allocations: 3.938 kB / 0.7214 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.293e-05/0.2116, allocations: 15.91 kB / 0.7214 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2116, allocations: 4 kB / 0.7214 GB, free: 7.195 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 9.737e-05/0.2117, allocations: 113.8 kB / 0.7215 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.2117, allocations: 11.95 kB / 0.7215 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.2117, allocations: 4 kB / 0.7215 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2117, allocations: 0 / 0.7215 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2117, allocations: 0 / 0.7215 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2117, allocations: 4 kB / 0.7215 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.2119, allocations: 140.7 kB / 0.7216 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2119, allocations: 0 / 0.7216 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.212, allocations: 19.91 kB / 0.7217 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.212, allocations: 0 / 0.7217 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.2121, allocations: 4 kB / 0.7217 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2121, allocations: 4 kB / 0.7217 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2121, allocations: 0 / 0.7217 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.2125, allocations: 191.4 kB / 0.7219 GB, free: 6.641 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.2125, allocations: 11.94 kB / 0.7219 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.2125, allocations: 0 / 0.7219 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2126, allocations: 15.98 kB / 0.7219 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.2127, allocations: 3.984 kB / 0.7219 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.2127, allocations: 4 kB / 0.7219 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.944e-05/0.2127, allocations: 91.53 kB / 0.722 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2127, allocations: 0 / 0.722 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002307/0.213, allocations: 8 kB / 0.722 GB, free: 6.508 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.001023/0.214, allocations: 0.7279 MB / 0.7227 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.2143, allocations: 67.92 kB / 0.7228 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2143, allocations: 0 / 0.7228 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.2145, allocations: 39.89 kB / 0.7228 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.2148, allocations: 10.11 kB / 0.7228 GB, free: 5.641 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.2153, allocations: 170.9 kB / 0.723 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.654e-05/0.2154, allocations: 63.34 kB / 0.723 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.695e-05/0.2154, allocations: 0 / 0.723 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.2155, allocations: 20.44 kB / 0.7231 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.2155, allocations: 0 / 0.7231 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.2464, allocations: 2.35 MB / 0.7253 GB, free: 3.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.56, allocations: 0 / 0.7253 GB, free: 3.09 MB / 0.6198 GB " [Timeout remaining time 648] (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: 15.553383053003927] Failed to read output from testmodel.py, exit status != 0: 11.667921507003484 11.690212846 11.479341426 Calling exit ...