Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.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.000768/0.000768, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0007917/0.0007917, 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.8429/0.8429, allocations: 177.2 MB / 202.8 MB, free: 5.793 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.7221/0.7221, allocations: 155 MB / 414.2 MB, free: 0.4961 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.Derivative,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",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.001268/0.001268, allocations: 74.39 kB / 0.6187 GB, free: 13.17 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.4723/0.4736, allocations: 102 MB / 0.7183 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001755/0.4754, allocations: 0.9863 MB / 0.7193 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.4765, allocations: 1.034 MB / 0.7203 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.4766, allocations: 7.25 kB / 0.7203 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.4768, allocations: 19.31 kB / 0.7203 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.847e-05/0.4768, allocations: 25.2 kB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.4771, allocations: 76.78 kB / 0.7204 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.4773, allocations: 172.5 kB / 0.7206 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.4775, allocations: 58.95 kB / 0.7206 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.4776, allocations: 108.8 kB / 0.7207 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.4777, allocations: 70.3 kB / 0.7208 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.4777, allocations: 16.75 kB / 0.7208 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.862e-05/0.4778, allocations: 22.17 kB / 0.7208 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.4778, allocations: 45.09 kB / 0.7209 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.4779, allocations: 63.28 kB / 0.7209 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.4782, allocations: 205.9 kB / 0.7211 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4782, allocations: 4 kB / 0.7211 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.996e-06/0.4782, allocations: 0 / 0.7211 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.4782, allocations: 5.031 kB / 0.7212 GB, free: 21.29 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006168/0.4788, allocations: 431 kB / 0.7216 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.4788, allocations: 11.5 kB / 0.7216 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.4789, allocations: 47.12 kB / 0.7216 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.804e-05/0.479, allocations: 23.34 kB / 0.7216 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.4792, allocations: 165.5 kB / 0.7218 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4792, allocations: 15.03 kB / 0.7218 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.4793, allocations: 16.08 kB / 0.7218 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.4795, allocations: 184.5 kB / 0.722 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.4795, allocations: 0 / 0.722 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.4796, allocations: 5.781 kB / 0.722 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.4796, allocations: 3.469 kB / 0.722 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.4797, allocations: 109.9 kB / 0.7221 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007578/0.4805, allocations: 484.1 kB / 0.7226 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.4808, allocations: 137.4 kB / 0.7227 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.481, allocations: 72.67 kB / 0.7228 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.481, allocations: 3.859 kB / 0.7228 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.4812, allocations: 155.3 kB / 0.7229 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 2.535e-06/0.4812, allocations: 1.375 kB / 0.7229 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0004245/0.4816, allocations: 221.2 kB / 0.7231 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.4816, allocations: 54.92 kB / 0.7232 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.4817, allocations: 161.9 kB / 0.7234 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.4818, allocations: 31.86 kB / 0.7234 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.4818, allocations: 115.8 kB / 0.7235 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.4819, allocations: 65.03 kB / 0.7236 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.4819, allocations: 43.34 kB / 0.7236 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.204e-05/0.482, allocations: 327.7 kB / 0.7239 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.4821, allocations: 70.41 kB / 0.724 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.4822, allocations: 94.42 kB / 0.7241 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.4825, allocations: 142.5 kB / 0.7242 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4825, allocations: 0 / 0.7242 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002985/0.4828, allocations: 215.9 kB / 0.7244 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4828, allocations: 6.328 kB / 0.7244 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.4828, allocations: 3.984 kB / 0.7244 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4828, allocations: 2 kB / 0.7244 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.4829, allocations: 41.89 kB / 0.7245 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4829, allocations: 1.312 kB / 0.7245 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.303e-05/0.483, allocations: 34.77 kB / 0.7245 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.483, allocations: 12.52 kB / 0.7245 GB, free: 18.93 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 7.077e-05/0.4831, allocations: 131.8 kB / 0.7246 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.4831, allocations: 14.88 kB / 0.7246 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.4834, allocations: 192.8 kB / 0.7248 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4834, allocations: 2.344 kB / 0.7248 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4834, allocations: 0 / 0.7248 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4834, allocations: 6.531 kB / 0.7248 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/0.484, allocations: 0.5296 MB / 0.7254 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.484, allocations: 3.031 kB / 0.7254 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.4841, allocations: 36.81 kB / 0.7254 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.4841, allocations: 6.719 kB / 0.7254 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.4841, allocations: 7.188 kB / 0.7254 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.4841, allocations: 7.391 kB / 0.7254 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.4841, allocations: 2.719 kB / 0.7254 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.4845, allocations: 380.3 kB / 0.7258 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.4846, allocations: 23.42 kB / 0.7258 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.4846, allocations: 8.281 kB / 0.7258 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.4847, allocations: 25.36 kB / 0.7258 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.4847, allocations: 17.75 kB / 0.7259 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.4847, allocations: 11.11 kB / 0.7259 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.4848, allocations: 116.8 kB / 0.726 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4848, allocations: 3.938 kB / 0.726 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001916/0.485, allocations: 37.52 kB / 0.726 GB, free: 17.88 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0004912/0.4855, allocations: 0.9204 MB / 0.7269 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.4858, allocations: 158.5 kB / 0.7271 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4858, allocations: 0 / 0.7271 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.4859, allocations: 80.59 kB / 0.7271 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.4861, allocations: 31.02 kB / 0.7272 GB, free: 17 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.4879, allocations: 2.133 MB / 0.7293 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.243e-05/0.488, allocations: 110.7 kB / 0.7294 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.458e-05/0.4881, allocations: 19.94 kB / 0.7294 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.4882, allocations: 57.14 kB / 0.7294 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.4882, allocations: 0 / 0.7294 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.5123, allocations: 4.393 MB / 0.7337 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.636/7.149, allocations: 7.531 kB / 0.7337 GB, free: 14.14 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.791922518983483] Failed to read output from testmodel.py, exit status != 0: 7.228724568150938 7.238425476 6.7585002 Calling exit ...