Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001237/0.001237, allocations: 72.45 kB / 19.02 MB, free: 1.105 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.001443/0.001443, allocations: 168.2 kB / 22.29 MB, free: 3.512 MB / 13.93 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 1.4/1.4, allocations: 177.2 MB / 202.7 MB, free: 4.809 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.258/1.258, allocations: 154.7 MB / 413.8 MB, free: 3.152 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="IDEAS_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.002127/0.002127, allocations: 66.89 kB / 0.6181 GB, free: 1.051 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.2249/0.227, allocations: 102 MB / 0.7177 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001952/0.229, allocations: 0.6814 MB / 0.7184 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.2301, allocations: 0.828 MB / 0.7192 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.2302, allocations: 0 / 0.7192 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.2302, allocations: 7.922 kB / 0.7192 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.2303, allocations: 3.938 kB / 0.7192 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.902e-05/0.2304, allocations: 19.98 kB / 0.7192 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2305, allocations: 35.92 kB / 0.7193 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2306, allocations: 15.92 kB / 0.7193 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.2307, allocations: 19.98 kB / 0.7193 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.2307, allocations: 19.92 kB / 0.7193 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.2307, allocations: 4 kB / 0.7193 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.2308, allocations: 4 kB / 0.7193 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.2308, allocations: 11.92 kB / 0.7193 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.2308, allocations: 19.86 kB / 0.7193 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.522e-05/0.2309, allocations: 44.08 kB / 0.7194 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2309, allocations: 4 kB / 0.7194 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2309, allocations: 0 / 0.7194 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2309, allocations: 4 kB / 0.7194 GB, free: 9.441 MB / 0.6198 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.0005443/0.2315, allocations: 282.2 kB / 0.7197 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2315, allocations: 8.031 kB / 0.7197 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.2315, allocations: 34.75 kB / 0.7197 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.2316, allocations: 8.891 kB / 0.7197 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.2317, allocations: 114.5 kB / 0.7198 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2317, allocations: 384 / 0.7198 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.2317, allocations: 8.375 kB / 0.7198 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.232, allocations: 66.22 kB / 0.7199 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.232, allocations: 11.81 kB / 0.7199 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.232, allocations: 0 / 0.7199 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.232, allocations: 0 / 0.7199 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.2323, allocations: 67.91 kB / 0.72 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.2327, allocations: 240 kB / 0.7202 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.2329, allocations: 50.53 kB / 0.7202 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.2331, allocations: 36.92 kB / 0.7203 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.2331, allocations: 3.938 kB / 0.7203 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2331, allocations: 30.56 kB / 0.7203 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2331, allocations: 0 / 0.7203 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005774/0.2337, allocations: 133.6 kB / 0.7204 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.2337, allocations: 59.34 kB / 0.7205 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.2338, allocations: 105.8 kB / 0.7206 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.2338, allocations: 25.7 kB / 0.7206 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.2339, allocations: 88.14 kB / 0.7207 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.2339, allocations: 15.88 kB / 0.7207 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.234, allocations: 21.72 kB / 0.7207 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002441/0.2342, allocations: 310.8 kB / 0.721 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.2344, allocations: 35.89 kB / 0.7211 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.2346, allocations: 31.97 kB / 0.7211 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.2349, allocations: 72.72 kB / 0.7212 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2349, allocations: 4 kB / 0.7212 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003267/0.2352, allocations: 89.62 kB / 0.7213 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2352, allocations: 8 kB / 0.7213 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2352, allocations: 0 / 0.7213 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2352, allocations: 0 / 0.7213 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.2354, allocations: 19.98 kB / 0.7213 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2354, allocations: 4 kB / 0.7213 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.876e-05/0.2354, allocations: 15.91 kB / 0.7213 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.2355, allocations: 7.938 kB / 0.7213 GB, free: 7.273 MB / 0.6198 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 9.201e-05/0.2355, allocations: 113.8 kB / 0.7214 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.2356, allocations: 7.953 kB / 0.7214 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.2356, allocations: 8 kB / 0.7214 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2356, allocations: 0 / 0.7214 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2356, allocations: 0 / 0.7214 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2356, allocations: 0 / 0.7214 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.2358, allocations: 144.6 kB / 0.7216 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2358, allocations: 4 kB / 0.7216 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.713e-05/0.2359, allocations: 11.98 kB / 0.7216 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2359, allocations: 0 / 0.7216 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.2359, allocations: 0 / 0.7216 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2359, allocations: 4 kB / 0.7216 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2359, allocations: 0 / 0.7216 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.2363, allocations: 199.7 kB / 0.7218 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.2363, allocations: 7.922 kB / 0.7218 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.2363, allocations: 4 kB / 0.7218 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.2364, allocations: 8.031 kB / 0.7218 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.2365, allocations: 15.97 kB / 0.7218 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.2365, allocations: 0 / 0.7218 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.2365, allocations: 87.28 kB / 0.7219 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.2365, allocations: 0 / 0.7219 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002136/0.2367, allocations: 4 kB / 0.7219 GB, free: 6.594 MB / 0.6198 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.0007863/0.2375, allocations: 0.7318 MB / 0.7226 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003624/0.2379, allocations: 71.86 kB / 0.7227 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2379, allocations: 0 / 0.7227 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.2381, allocations: 39.95 kB / 0.7227 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.2384, allocations: 5.875 kB / 0.7227 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.2389, allocations: 165.8 kB / 0.7229 GB, free: 5.523 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.01e-05/0.239, allocations: 63.34 kB / 0.723 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.518e-05/0.2391, allocations: 8 kB / 0.723 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.2391, allocations: 12.5 kB / 0.723 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.2391, allocations: 0 / 0.723 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.2699, allocations: 2.3 MB / 0.7252 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.6, allocations: 8.062 kB / 0.7252 GB, free: 3.223 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.585909811998135] Failed to read output from testmodel.py, exit status != 0: 11.699575809994712 11.72312292 11.487069387 Calling exit ...