Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.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.001035/0.001035, 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.0008251/0.0008251, 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.8859/0.8859, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.6913/0.6913, allocations: 155 MB / 414.2 MB, free: 472 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.Divide,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide",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.0009663/0.0009663, allocations: 67.91 kB / 0.6187 GB, free: 13.1 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.4959/0.4969, allocations: 102 MB / 0.7183 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001519/0.4984, allocations: 0.6844 MB / 0.719 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.4991, allocations: 0.8331 MB / 0.7198 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.4992, allocations: 0 / 0.7198 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.4992, allocations: 0.6094 kB / 0.7198 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.82e-05/0.4993, allocations: 10.86 kB / 0.7198 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.959e-05/0.4993, allocations: 9.75 kB / 0.7198 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.127e-05/0.4994, allocations: 46.81 kB / 0.7199 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.4995, allocations: 8.453 kB / 0.7199 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.334e-05/0.4996, allocations: 29.58 kB / 0.7199 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.136e-05/0.4997, allocations: 17.45 kB / 0.7199 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.4997, allocations: 8.344 kB / 0.7199 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-06/0.4997, allocations: 3.281 kB / 0.7199 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.4997, allocations: 11.58 kB / 0.7199 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.4997, allocations: 12.61 kB / 0.7199 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.958e-05/0.4998, allocations: 46.73 kB / 0.72 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4998, allocations: 1.25 kB / 0.72 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4998, allocations: 0 / 0.72 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.4998, allocations: 0 / 0.72 GB, free: 21.81 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003748/0.5002, allocations: 300.1 kB / 0.7203 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.5003, allocations: 15.62 kB / 0.7203 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.76e-05/0.5003, allocations: 33.2 kB / 0.7203 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.193e-05/0.5003, allocations: 7.047 kB / 0.7203 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.31e-05/0.5004, allocations: 106.6 kB / 0.7204 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5004, allocations: 5.406 kB / 0.7204 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.5004, allocations: 6.281 kB / 0.7204 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.5006, allocations: 64.61 kB / 0.7205 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.5006, allocations: 3.938 kB / 0.7205 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.5006, allocations: 1.828 kB / 0.7205 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.5006, allocations: 5.094 kB / 0.7205 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.5008, allocations: 65.95 kB / 0.7206 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.5011, allocations: 236.3 kB / 0.7208 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.5012, allocations: 50.23 kB / 0.7209 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.5013, allocations: 44.08 kB / 0.7209 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.5013, allocations: 5 kB / 0.7209 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.5013, allocations: 32.39 kB / 0.7209 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.5013, allocations: 1.344 kB / 0.7209 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003207/0.5016, allocations: 131.7 kB / 0.7211 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.5016, allocations: 52.56 kB / 0.7211 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.5017, allocations: 111.6 kB / 0.7212 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.5017, allocations: 29.64 kB / 0.7212 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.374e-05/0.5017, allocations: 88.94 kB / 0.7213 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.5017, allocations: 13.11 kB / 0.7213 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.5018, allocations: 17.36 kB / 0.7214 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.048e-05/0.5018, allocations: 313.8 kB / 0.7217 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-05/0.5019, allocations: 31.52 kB / 0.7217 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.5019, allocations: 35.09 kB / 0.7217 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.5021, allocations: 78.98 kB / 0.7218 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5021, allocations: 0 / 0.7218 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001763/0.5023, allocations: 97.83 kB / 0.7219 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5023, allocations: 4.719 kB / 0.7219 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5023, allocations: 0.9688 kB / 0.7219 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.5023, allocations: 0.8438 kB / 0.7219 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/0.5024, allocations: 15.78 kB / 0.7219 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5024, allocations: 0 / 0.7219 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.5024, allocations: 16.67 kB / 0.7219 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.5024, allocations: 0 / 0.7219 GB, free: 20.18 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 (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 4.362e-05/0.5025, allocations: 117.9 kB / 0.722 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.5025, allocations: 6.453 kB / 0.722 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.003e-05/0.5025, allocations: 10.3 kB / 0.7221 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5025, allocations: 1.062 kB / 0.7221 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5025, allocations: 0 / 0.7221 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5025, allocations: 5.781 kB / 0.7221 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.285e-05/0.5026, allocations: 132.6 kB / 0.7222 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5026, allocations: 1.25 kB / 0.7222 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.5026, allocations: 14.58 kB / 0.7222 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5026, allocations: 1.5 kB / 0.7222 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.5027, allocations: 8.75 kB / 0.7222 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.5027, allocations: 4 kB / 0.7222 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5027, allocations: 1.094 kB / 0.7222 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.5028, allocations: 198.9 kB / 0.7224 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.5029, allocations: 2.031 kB / 0.7224 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.5029, allocations: 1.156 kB / 0.7224 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.5029, allocations: 15.98 kB / 0.7224 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.503, allocations: 7.234 kB / 0.7224 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.503, allocations: 1.188 kB / 0.7224 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.113e-05/0.503, allocations: 88.64 kB / 0.7225 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.503, allocations: 0 / 0.7225 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001414/0.5031, allocations: 10.66 kB / 0.7225 GB, free: 19.63 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 (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.0003125/0.5034, allocations: 0.7266 MB / 0.7232 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.5036, allocations: 70.53 kB / 0.7233 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5036, allocations: 0 / 0.7233 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/0.5037, allocations: 39.08 kB / 0.7233 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.504, allocations: 8.781 kB / 0.7233 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.5043, allocations: 157 kB / 0.7235 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.407e-05/0.5044, allocations: 64.47 kB / 0.7236 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.5044, allocations: 1.25 kB / 0.7236 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.5044, allocations: 19.39 kB / 0.7236 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.5044, allocations: 0 / 0.7236 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.5229, allocations: 2.317 MB / 0.7258 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.579/7.102, allocations: 2.156 kB / 0.7258 GB, free: 17.77 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.749245147919282] Failed to read output from testmodel.py, exit status != 0: 7.180745267076418 7.189357299 6.687790206 Calling exit ...