Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.001282/0.001282, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001011/0.001011, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9163/0.9163, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7136/0.7136, allocations: 154.5 MB / 413.7 MB, free: 0.8398 MB / 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.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.177e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.0012/0.001222, allocations: 0.677 MB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007016/0.001924, allocations: 0.8354 MB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.001954, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.001979, allocations: 7.875 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.002041, allocations: 3.984 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.747e-05/0.002139, allocations: 19.92 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.002215, allocations: 35.92 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.293e-05/0.002308, allocations: 15.92 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.11e-05/0.002379, allocations: 31.86 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.64e-05/0.002415, allocations: 11.98 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.002437, allocations: 4 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.206e-06/0.002445, allocations: 4 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.002463, allocations: 15.91 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.002482, allocations: 8 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.108e-05/0.002563, allocations: 43.86 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.002565, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.172e-06/0.002567, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.00257, allocations: 4 kB / 0.6198 GB, free: 11.94 MB / 0.5886 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.0003419/0.002912, allocations: 282.3 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.002948, allocations: 9.469 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.002985, allocations: 38.73 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.169e-05/0.003007, allocations: 8.891 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.797e-05/0.003084, allocations: 109.7 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.003094, allocations: 384 / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.003102, allocations: 384 / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.003259, allocations: 78.14 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.003266, allocations: 4.188 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.003273, allocations: 384 / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.003279, allocations: 4.125 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.003411, allocations: 63.92 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.003691, allocations: 236 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.003802, allocations: 54.55 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.019e-05/0.003872, allocations: 40.84 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.003891, allocations: 7.938 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.003907, allocations: 30.56 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.003908, allocations: 0 / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.00029/0.004198, allocations: 129.6 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.004225, allocations: 51.41 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.876e-05/0.004283, allocations: 113.8 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.004292, allocations: 25.7 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.004327, allocations: 92.09 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.004342, allocations: 7.891 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.004367, allocations: 13.72 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.004531, allocations: 322.8 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.985e-05/0.004601, allocations: 35.91 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.209e-05/0.004663, allocations: 39.89 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.004788, allocations: 64.8 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.00479, allocations: 0 / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001642/0.004954, allocations: 109.5 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.004967, allocations: 4 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.00497, allocations: 0 / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.004981, allocations: 0 / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.005057, allocations: 15.98 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.005061, allocations: 3.938 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.005095, allocations: 11.98 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.005101, allocations: 0 / 0.6217 GB, free: 9.773 MB / 0.5886 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.607e-05/0.005157, allocations: 118.8 kB / 0.6218 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.005169, allocations: 7.938 kB / 0.6218 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.005362, allocations: 105.6 kB / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.005364, allocations: 0 / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.005368, allocations: 0 / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.00537, allocations: 384 / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.685e-05/0.005467, allocations: 132.8 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005468, allocations: 4 kB / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.005509, allocations: 19.92 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.005512, allocations: 3.984 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.005519, allocations: 3.984 kB / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.00552, allocations: 0 / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.005521, allocations: 3.938 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.0057, allocations: 199.4 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-06/0.005708, allocations: 3.938 kB / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-06/0.005717, allocations: 0 / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.784e-05/0.005765, allocations: 15.97 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.0058, allocations: 4 kB / 0.6223 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.005803, allocations: 4 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.61e-05/0.00584, allocations: 83.27 kB / 0.6224 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.00584, allocations: 4 kB / 0.6224 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001365/0.005976, allocations: 8 kB / 0.6224 GB, free: 8.984 MB / 0.5886 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.0003442/0.00632, allocations: 0.7318 MB / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.006493, allocations: 67.92 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.006494, allocations: 3.938 kB / 0.6232 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.00656, allocations: 35.97 kB / 0.6232 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.006795, allocations: 14.72 kB / 0.6232 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.007138, allocations: 150.5 kB / 0.6234 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.254e-05/0.007181, allocations: 75.2 kB / 0.6234 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.096e-05/0.007201, allocations: 0 / 0.6234 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.00724, allocations: 20.5 kB / 0.6235 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of SimCode: time 4.31e-07/0.00724, allocations: 0 / 0.6235 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.02245, allocations: 2.316 MB / 0.6257 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.009, allocations: 6.594 kB / 0.6257 GB, free: 5.637 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.690088265575469] Failed to read output from testmodel.py, exit status != 0: 7.094443345442414 7.106582304 7.102310634 Calling exit ...