Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0006611/0.0006611, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0007664/0.0007664, allocations: 162 kB / 22.43 MB, free: 2.141 MB / 18.57 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.8854/0.8854, allocations: 177.2 MB / 202.8 MB, free: 5.781 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6873/0.6873, allocations: 155 MB / 414.2 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.MultiMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",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.0009901/0.0009901, allocations: 73.27 kB / 0.6187 GB, free: 13.18 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4409/0.4419, allocations: 102 MB / 0.7183 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001532/0.4434, allocations: 0.6354 MB / 0.7189 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001645/0.4436, allocations: 11.89 kB / 0.7189 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.4437, allocations: 3.938 kB / 0.7189 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.4438, allocations: 10.42 kB / 0.719 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.445e-05/0.4438, allocations: 2.109 kB / 0.719 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.61e-05/0.4439, allocations: 2.094 kB / 0.719 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.051e-05/0.444, allocations: 30.3 kB / 0.719 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.4441, allocations: 24.72 kB / 0.719 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.687e-05/0.4441, allocations: 23.05 kB / 0.719 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.005e-05/0.4442, allocations: 19.2 kB / 0.7191 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.4442, allocations: 3.344 kB / 0.7191 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.4442, allocations: 3.281 kB / 0.7191 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.4442, allocations: 9.016 kB / 0.7191 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.4443, allocations: 21.36 kB / 0.7191 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.715e-05/0.4444, allocations: 45.75 kB / 0.7191 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4444, allocations: 3.938 kB / 0.7191 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4444, allocations: 1.094 kB / 0.7191 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.4444, allocations: 0 / 0.7191 GB, free: 22.61 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002588/0.4446, allocations: 276.1 kB / 0.7194 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4447, allocations: 11.97 kB / 0.7194 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.33e-05/0.4447, allocations: 41.56 kB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.4447, allocations: 8.797 kB / 0.7195 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.4448, allocations: 120.5 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4448, allocations: 11.91 kB / 0.7196 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.4449, allocations: 2.688 kB / 0.7196 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.445, allocations: 79.22 kB / 0.7197 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.445, allocations: 7.922 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.445, allocations: 8.969 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.445, allocations: 1.531 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.194e-05/0.4451, allocations: 43.83 kB / 0.7197 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.4454, allocations: 454 kB / 0.7202 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.188e-05/0.4455, allocations: 172.4 kB / 0.7203 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.4455, allocations: 80.14 kB / 0.7204 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.4455, allocations: 76.69 kB / 0.7205 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.4455, allocations: 108 kB / 0.7206 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.4455, allocations: 0 / 0.7206 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.851e-05/0.4456, allocations: 41.91 kB / 0.7206 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.4456, allocations: 130.6 kB / 0.7207 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.4457, allocations: 178.1 kB / 0.7209 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-06/0.4457, allocations: 25.7 kB / 0.7209 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.4458, allocations: 94.52 kB / 0.721 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.4458, allocations: 4 kB / 0.721 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.4458, allocations: 17.59 kB / 0.721 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.716e-05/0.4458, allocations: 315.5 kB / 0.7213 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.4459, allocations: 14.06 kB / 0.7214 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.4459, allocations: 6.766 kB / 0.7214 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.888e-05/0.4459, allocations: 16.86 kB / 0.7214 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4459, allocations: 1.094 kB / 0.7214 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001169/0.446, allocations: 56.88 kB / 0.7214 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.446, allocations: 4.844 kB / 0.7214 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.446, allocations: 4.906 kB / 0.7214 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4461, allocations: 5.031 kB / 0.7214 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.901e-05/0.4461, allocations: 6.781 kB / 0.7215 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4461, allocations: 5.172 kB / 0.7215 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.4462, allocations: 7.953 kB / 0.7215 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.4462, allocations: 1.75 kB / 0.7215 GB, free: 20.37 MB / 0.6355 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 5.882e-05/0.4462, allocations: 194 kB / 0.7217 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.4462, allocations: 108.7 kB / 0.7218 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.4463, allocations: 118.7 kB / 0.7219 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.4463, allocations: 181.2 kB / 0.722 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/0.4463, allocations: 186.6 kB / 0.7222 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.4463, allocations: 182.1 kB / 0.7224 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.4464, allocations: 384 kB / 0.7228 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.4465, allocations: 107 kB / 0.7229 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.161e-05/0.4465, allocations: 102.2 kB / 0.723 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.109e-05/0.4465, allocations: 183.4 kB / 0.7231 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.4465, allocations: 183.2 kB / 0.7233 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-05/0.4465, allocations: 185.8 kB / 0.7235 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.919e-05/0.4465, allocations: 178.2 kB / 0.7237 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.402e-05/0.4466, allocations: 317.2 kB / 0.724 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.4466, allocations: 110.9 kB / 0.7241 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.4467, allocations: 191.1 kB / 0.7242 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.343e-05/0.4467, allocations: 107.6 kB / 0.7243 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.4467, allocations: 179.3 kB / 0.7245 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.4468, allocations: 110 kB / 0.7246 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.049e-05/0.4468, allocations: 130.8 kB / 0.7248 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4468, allocations: 0 / 0.7248 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001524/0.447, allocations: 4.625 kB / 0.7248 GB, free: 16.93 MB / 0.6355 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 (0): * Single equations (assignments): 0 * 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.0002148/0.4472, allocations: 0.8042 MB / 0.7255 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.954e-05/0.4473, allocations: 20.38 kB / 0.7256 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4473, allocations: 0 / 0.7256 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.4473, allocations: 5.406 kB / 0.7256 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.4476, allocations: 464.3 kB / 0.726 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009664/0.4485, allocations: 1.605 MB / 0.7276 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.591e-05/0.4486, allocations: 77.38 kB / 0.7276 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.4486, allocations: 6.109 kB / 0.7277 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.4487, allocations: 17.09 kB / 0.7277 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/0.4487, allocations: 0 / 0.7277 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.4632, allocations: 2.273 MB / 0.7299 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.48/6.943, allocations: 7.5 kB / 0.7299 GB, free: 13.26 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.577494689030573] Failed to read output from testmodel.py, exit status != 0: 7.020898635964841 7.029881499 6.583817221 Calling exit ...