Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.0008599/0.0008599, 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.00105/0.00105, allocations: 162 kB / 22.43 MB, free: 2.145 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.8949/0.8949, allocations: 177.2 MB / 202.8 MB, free: 5.797 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.6944/0.6944, allocations: 155 MB / 414.2 MB, free: 0.4922 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.Exp,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp",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.0009255/0.0009255, allocations: 70.98 kB / 0.6187 GB, free: 13.19 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.4934/0.4944, allocations: 102 MB / 0.7183 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.00146/0.4958, allocations: 0.653 MB / 0.719 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.4966, allocations: 0.8397 MB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.4966, allocations: 0 / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.463e-05/0.4966, allocations: 5.375 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.4967, allocations: 3.938 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.4969, allocations: 14.81 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.497, allocations: 24.91 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.465e-05/0.4971, allocations: 2.656 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.4971, allocations: 19.47 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.467e-05/0.4972, allocations: 9 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.4972, allocations: 2.281 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.003e-05/0.4972, allocations: 4.438 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.4972, allocations: 10.22 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.4972, allocations: 11.41 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.4973, allocations: 22.66 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4973, allocations: 1.062 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4973, allocations: 3.938 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.4974, allocations: 0 / 0.7199 GB, free: 22.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003088/0.4977, allocations: 266 kB / 0.7202 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4977, allocations: 10.59 kB / 0.7202 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.092e-05/0.4977, allocations: 32.36 kB / 0.7202 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/0.4978, allocations: 16.03 kB / 0.7202 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.459e-05/0.4979, allocations: 105.5 kB / 0.7203 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.4979, allocations: 5.172 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.4979, allocations: 1.656 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.498, allocations: 49.28 kB / 0.7204 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.498, allocations: 3.938 kB / 0.7204 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.498, allocations: 1.406 kB / 0.7204 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.498, allocations: 4.75 kB / 0.7204 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.483e-05/0.4981, allocations: 36.42 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.4984, allocations: 215.1 kB / 0.7206 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.783e-05/0.4985, allocations: 39.89 kB / 0.7207 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.4985, allocations: 19.19 kB / 0.7207 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.4985, allocations: 1.828 kB / 0.7207 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.4985, allocations: 40.56 kB / 0.7207 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.4985, allocations: 0 / 0.7207 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000216/0.4988, allocations: 79.77 kB / 0.7208 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.4988, allocations: 53.09 kB / 0.7208 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.032e-05/0.4988, allocations: 100.1 kB / 0.7209 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.4988, allocations: 31.44 kB / 0.721 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.145e-05/0.4988, allocations: 89.66 kB / 0.721 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.4989, allocations: 5.703 kB / 0.7211 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.4989, allocations: 16.48 kB / 0.7211 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.767e-05/0.4989, allocations: 313.1 kB / 0.7214 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.591e-05/0.499, allocations: 18.86 kB / 0.7214 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.968e-05/0.499, allocations: 13.59 kB / 0.7214 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/0.4991, allocations: 38.12 kB / 0.7214 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4991, allocations: 3.938 kB / 0.7214 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001005/0.4992, allocations: 79.17 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4992, allocations: 5.25 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4992, allocations: 1.031 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4992, allocations: 5.094 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.576e-05/0.4993, allocations: 8.375 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4993, allocations: 1.125 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.4993, allocations: 5.469 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.4993, allocations: 1.734 kB / 0.7215 GB, free: 20.46 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 (2): * Single equations (assignments): 2 * 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 3.452e-05/0.4993, allocations: 116.9 kB / 0.7217 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.4993, allocations: 1.188 kB / 0.7217 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.4995, allocations: 80.47 kB / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.4995, allocations: 0 / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4995, allocations: 1.156 kB / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4995, allocations: 0.6562 kB / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.426e-05/0.4996, allocations: 131.9 kB / 0.7219 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4996, allocations: 0.5625 kB / 0.7219 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.592e-05/0.4996, allocations: 12.94 kB / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4996, allocations: 2 kB / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.4996, allocations: 0 / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.4996, allocations: 0 / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4996, allocations: 1.219 kB / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.4997, allocations: 164.2 kB / 0.722 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.4997, allocations: 9.016 kB / 0.722 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.4997, allocations: 5.922 kB / 0.722 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.203e-05/0.4998, allocations: 9.969 kB / 0.7221 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.4998, allocations: 2.969 kB / 0.7221 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.4998, allocations: 5.188 kB / 0.7221 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.467e-05/0.4998, allocations: 84.27 kB / 0.7221 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4998, allocations: 0 / 0.7221 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001345/0.4999, allocations: 3.469 kB / 0.7221 GB, free: 19.89 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 (2): * Single equations (assignments): 2 * 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.000203/0.5001, allocations: 0.6916 MB / 0.7228 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.5003, allocations: 40 kB / 0.7229 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.5003, allocations: 0 / 0.7229 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.5003, allocations: 19.75 kB / 0.7229 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.5005, allocations: 8 kB / 0.7229 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.5008, allocations: 130.9 kB / 0.723 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.219e-05/0.5008, allocations: 63.75 kB / 0.7231 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.83e-05/0.5009, allocations: 5.672 kB / 0.7231 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.5009, allocations: 10.33 kB / 0.7231 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.5009, allocations: 0 / 0.7231 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.517, allocations: 1.928 MB / 0.725 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.465/6.982, allocations: 8.156 kB / 0.725 GB, free: 18.07 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.656062410911545] Failed to read output from testmodel.py, exit status != 0: 7.059836802072823 7.071823379 6.5722990470000004 Calling exit ...