Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.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.0007817/0.0007817, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0008347/0.0008347, allocations: 216.5 kB / 22.25 MB, free: 3.727 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 0.9461/0.9461, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.7784/0.7784, allocations: 203.8 MB / 0.5042 GB, free: 10.38 MB / 410.7 MB " [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.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract",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.001785/0.001785, allocations: 66.23 kB / 0.7182 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5137/0.5155, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001427/0.517, allocations: 0.6803 MB / 0.8185 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005957/0.5176, allocations: 0.8378 MB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.5176, allocations: 0 / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.5176, allocations: 3.938 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.5177, allocations: 4.641 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.504e-05/0.5177, allocations: 16.5 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.018e-05/0.5178, allocations: 41.41 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.5179, allocations: 9.844 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.612e-05/0.5179, allocations: 18.52 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.518, allocations: 20.75 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.518, allocations: 3.062 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-06/0.518, allocations: 7.688 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.518, allocations: 12.06 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.518, allocations: 12.16 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.5182, allocations: 45.59 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5182, allocations: 0 / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5182, allocations: 0 / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.5182, allocations: 0 / 0.8195 GB, free: 15.87 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.0003344/0.5185, allocations: 292.1 kB / 0.8198 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.5185, allocations: 8.469 kB / 0.8198 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.74e-05/0.5186, allocations: 36.17 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.548e-05/0.5186, allocations: 7.547 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.977e-05/0.5186, allocations: 114.1 kB / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.5187, allocations: 4.375 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-06/0.5187, allocations: 384 / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.5188, allocations: 69.48 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-06/0.5188, allocations: 7.922 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.5188, allocations: 0.6094 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.5188, allocations: 3.031 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.519, allocations: 64.42 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.5193, allocations: 236.5 kB / 0.8203 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.5194, allocations: 54.02 kB / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.5195, allocations: 41.48 kB / 0.8204 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.5195, allocations: 4.703 kB / 0.8204 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.5195, allocations: 30.56 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.5195, allocations: 0 / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002911/0.5198, allocations: 129.1 kB / 0.8206 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.5198, allocations: 55.91 kB / 0.8206 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.5199, allocations: 117.1 kB / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.5199, allocations: 25.7 kB / 0.8208 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.5199, allocations: 92.84 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.52, allocations: 12.45 kB / 0.8209 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.52, allocations: 13.78 kB / 0.8209 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.5201, allocations: 316.6 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.838e-05/0.5202, allocations: 32.48 kB / 0.8212 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.5202, allocations: 34.48 kB / 0.8212 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.5204, allocations: 71.11 kB / 0.8213 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5204, allocations: 0 / 0.8213 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001743/0.5206, allocations: 96.86 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.5206, allocations: 12.84 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.5206, allocations: 0 / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.5206, allocations: 4.875 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.5207, allocations: 15.64 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.5207, allocations: 0 / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.5207, allocations: 11.94 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.5207, allocations: 1.781 kB / 0.8214 GB, free: 14.25 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 5.775e-05/0.5208, allocations: 119.5 kB / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.5208, allocations: 7.953 kB / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.768e-05/0.5208, allocations: 8.703 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.5208, allocations: 1.312 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5208, allocations: 1.219 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5208, allocations: 1.188 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.5209, allocations: 136.7 kB / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.5209, allocations: 0 / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.521, allocations: 16.94 kB / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.521, allocations: 0 / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.521, allocations: 0 / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.521, allocations: 2.047 kB / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.521, allocations: 7.938 kB / 0.8217 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.5212, allocations: 199.7 kB / 0.8219 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.5212, allocations: 6.156 kB / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.5212, allocations: 0.6094 kB / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.197e-05/0.5212, allocations: 13.25 kB / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.5213, allocations: 6.328 kB / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.5213, allocations: 10.91 kB / 0.822 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.5213, allocations: 85.75 kB / 0.822 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5213, allocations: 0 / 0.822 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001354/0.5214, allocations: 12.78 kB / 0.822 GB, free: 13.69 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.0004005/0.5218, allocations: 0.7267 MB / 0.8228 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.522, allocations: 69.52 kB / 0.8228 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.522, allocations: 0 / 0.8228 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.5221, allocations: 33.69 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.5223, allocations: 7.094 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.5227, allocations: 169.5 kB / 0.823 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.735e-05/0.5227, allocations: 68.94 kB / 0.8231 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.941e-05/0.5227, allocations: 1.062 kB / 0.8231 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.5228, allocations: 14.47 kB / 0.8231 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.5228, allocations: 3.938 kB / 0.8231 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.5367, allocations: 2.171 MB / 0.8252 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.51/7.046, allocations: 9.203 kB / 0.8252 GB, free: 11.88 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.020903670229018] Failed to read output from testmodel.py, exit status != 0: 7.12577299028635 7.135131175 6.614933689 Calling exit ...