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.000824/0.000824, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008422/0.0008422, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9153/0.9153, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6972/0.6972, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 0 / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.172e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001326/0.001348, allocations: 0.6731 MB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000707/0.002055, allocations: 0.8354 MB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.002086, allocations: 0 / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.002112, allocations: 7.875 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.413e-05/0.002166, allocations: 3.938 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.54e-05/0.002221, allocations: 15.98 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.9e-05/0.00229, allocations: 43.84 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.011e-05/0.00238, allocations: 8 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.5e-05/0.002445, allocations: 27.92 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.682e-05/0.002482, allocations: 19.95 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.002503, allocations: 4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-06/0.002509, allocations: 4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.002525, allocations: 7.938 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.002546, allocations: 11.98 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.879e-05/0.002625, allocations: 43.81 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.002627, allocations: 0 / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.062e-06/0.002628, allocations: 0 / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.002632, allocations: 0 / 0.6198 GB, free: 11.86 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.000371/0.003003, allocations: 292.5 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.003043, allocations: 12.03 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.653e-05/0.003069, allocations: 30.75 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.94e-05/0.003088, allocations: 8.891 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.968e-05/0.003158, allocations: 109.7 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.003168, allocations: 12.3 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.003175, allocations: 384 / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.003318, allocations: 74.2 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.003324, allocations: 4.188 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.003331, allocations: 384 / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.003337, allocations: 4.125 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.00347, allocations: 59.94 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.003728, allocations: 232 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.003841, allocations: 58.48 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.095e-05/0.003912, allocations: 36.91 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.003922, allocations: 7.938 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.003938, allocations: 34.56 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.003939, allocations: 0 / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002741/0.004213, allocations: 129.6 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.004238, allocations: 55.34 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.338e-05/0.004292, allocations: 109.8 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.0043, allocations: 25.7 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.004331, allocations: 88.09 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.004345, allocations: 7.953 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.00437, allocations: 13.72 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.004436, allocations: 318.8 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.8e-05/0.004504, allocations: 31.97 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.004566, allocations: 43.83 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.00469, allocations: 60.8 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004692, allocations: 0 / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001561/0.004848, allocations: 113.4 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.004858, allocations: 6.031 kB / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.004862, allocations: 4 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.004872, allocations: 0 / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.004938, allocations: 11.98 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.004942, allocations: 0 / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.004976, allocations: 11.98 kB / 0.6218 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.004981, allocations: 4 kB / 0.6218 GB, free: 9.699 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 4.956e-05/0.00503, allocations: 114.8 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.005044, allocations: 7.922 kB / 0.6219 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.596e-05/0.00506, allocations: 12 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.005061, allocations: 0 / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.005065, allocations: 4 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.005067, allocations: 336 / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.449e-05/0.005162, allocations: 132.7 kB / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005163, allocations: 0 / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.005202, allocations: 23.92 kB / 0.622 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.005205, allocations: 7.969 kB / 0.622 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.00521, allocations: 0 / 0.622 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.00521, allocations: 0 / 0.622 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005211, allocations: 0 / 0.622 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.005384, allocations: 199.4 kB / 0.6222 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.00539, allocations: 3.938 kB / 0.6222 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-06/0.005398, allocations: 0 / 0.6222 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.823e-05/0.005446, allocations: 19.97 kB / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.005479, allocations: 8 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.00548, allocations: 0 / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.475e-05/0.005505, allocations: 83.27 kB / 0.6223 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005505, allocations: 0 / 0.6223 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001349/0.00564, allocations: 12 kB / 0.6224 GB, free: 9.012 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.0003222/0.005962, allocations: 0.7318 MB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.006125, allocations: 63.92 kB / 0.6231 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.006127, allocations: 4 kB / 0.6231 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.621e-05/0.006193, allocations: 35.91 kB / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.006389, allocations: 8 kB / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.006686, allocations: 154.5 kB / 0.6233 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.747e-05/0.006724, allocations: 75.22 kB / 0.6234 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.095e-05/0.006745, allocations: 3.984 kB / 0.6234 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.006777, allocations: 12.5 kB / 0.6234 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of SimCode: time 3.51e-07/0.006778, allocations: 0 / 0.6234 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.01998, allocations: 2.315 MB / 0.6257 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/6.641, allocations: 15.97 kB / 0.6257 GB, free: 5.664 MB / 0.5886 GB " [Timeout remaining time 653] (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: 9.2552939793095] Failed to read output from testmodel.py, exit status != 0: 6.722232071682811 6.730522072 6.72631403 Calling exit ...