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.0007811/0.0007811, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008784/0.0008784, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9033/0.9033, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.746/0.746, 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 3.196e-06/3.196e-06, allocations: 0 / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.662e-05, allocations: 5.094 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001423/0.001449, allocations: 0.6862 MB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007683/0.002218, allocations: 0.8277 MB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.002247, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.002273, allocations: 3.938 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.709e-05/0.00233, allocations: 11.92 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.945e-05/0.002379, allocations: 15.98 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.482e-05/0.002444, allocations: 39.86 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.002528, allocations: 19.91 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.028e-05/0.002588, allocations: 19.98 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.844e-05/0.002617, allocations: 11.98 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.002636, allocations: 7.938 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.002646, allocations: 4 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.002661, allocations: 11.92 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.002679, allocations: 8 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.294e-05/0.002752, allocations: 51.84 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.002754, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.313e-06/0.002756, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.00276, allocations: 0 / 0.6198 GB, free: 11.89 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.0003339/0.003094, allocations: 282.3 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.003128, allocations: 12.03 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.365e-05/0.003152, allocations: 30.75 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.838e-05/0.00317, allocations: 4.891 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.568e-05/0.003246, allocations: 117.7 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.003255, allocations: 8.375 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.003262, allocations: 384 / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.003411, allocations: 66.22 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.00342, allocations: 8.125 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.003428, allocations: 384 / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.003433, allocations: 4.125 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.003572, allocations: 67.92 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.003872, allocations: 224.1 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.003989, allocations: 54.53 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.004062, allocations: 36.91 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.004074, allocations: 7.875 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.004095, allocations: 42.55 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.004097, allocations: 4 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002897/0.004386, allocations: 121.6 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.004414, allocations: 55.34 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.636e-05/0.00447, allocations: 109.8 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.00448, allocations: 25.7 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.004514, allocations: 100 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.004531, allocations: 11.89 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.004562, allocations: 13.72 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.00465, allocations: 314.8 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.79e-05/0.004748, allocations: 35.89 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.393e-05/0.004812, allocations: 27.97 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.004946, allocations: 72.78 kB / 0.6216 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.004947, allocations: 0 / 0.6216 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000403/0.00535, allocations: 101.5 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.005362, allocations: 4 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.005366, allocations: 0 / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.005376, allocations: 4 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.154e-05/0.005447, allocations: 19.97 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.005452, allocations: 0 / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.005487, allocations: 11.98 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.005528, allocations: 3.938 kB / 0.6218 GB, free: 9.73 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 9.925e-05/0.005627, allocations: 114.8 kB / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.005651, allocations: 3.938 kB / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.005679, allocations: 12 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.005683, allocations: 0 / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.00569, allocations: 8 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.005694, allocations: 3.984 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.005836, allocations: 132.7 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.005839, allocations: 0 / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.079e-05/0.00593, allocations: 19.92 kB / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.005934, allocations: 0 / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.005941, allocations: 0 / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.005944, allocations: 0 / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.005945, allocations: 0 / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.006174, allocations: 203.4 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.006186, allocations: 7.875 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.006198, allocations: 0 / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.006276, allocations: 11.98 kB / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.006317, allocations: 8.359 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.006321, allocations: 4 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.006355, allocations: 79.28 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.006355, allocations: 3.938 kB / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001472/0.006502, allocations: 16 kB / 0.6224 GB, free: 9.043 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.0004759/0.006978, allocations: 0.728 MB / 0.6231 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.007174, allocations: 75.8 kB / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.007176, allocations: 0 / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.594e-05/0.007252, allocations: 35.95 kB / 0.6232 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.007513, allocations: 8 kB / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.007864, allocations: 150.6 kB / 0.6233 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.49e-05/0.007908, allocations: 67.28 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.007933, allocations: 8 kB / 0.6234 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.007972, allocations: 12.5 kB / 0.6234 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.007973, allocations: 0 / 0.6234 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.0245, allocations: 2.31 MB / 0.6257 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/6.906, allocations: 9.016 kB / 0.6257 GB, free: 5.711 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.742781948298216] Failed to read output from testmodel.py, exit status != 0: 6.988820127211511 7.001415724 6.996717762 Calling exit ...