Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001103/0.001103, 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.0008819/0.0008819, allocations: 170.3 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.9291/0.9291, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7429/0.7429, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.Subtract,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06e-05/1.215e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001115/0.001127, allocations: 0.6882 MB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007788/0.001906, allocations: 0.8237 MB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.001946, allocations: 0 / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.001974, allocations: 7.875 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.002038, allocations: 11.88 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.948e-05/0.002098, allocations: 7.984 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.869e-05/0.002176, allocations: 43.91 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.216e-05/0.002269, allocations: 15.86 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.941e-05/0.002338, allocations: 27.97 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.474e-05/0.002373, allocations: 15.98 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.002395, allocations: 4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-06/0.002401, allocations: 4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.002416, allocations: 7.938 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.002437, allocations: 11.98 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.842e-05/0.002516, allocations: 43.86 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.002518, allocations: 4 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.72e-07/0.002519, allocations: 0 / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.002523, 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.0003791/0.002902, allocations: 286.2 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.002939, allocations: 8.031 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.75e-05/0.002967, allocations: 34.75 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.901e-05/0.002986, allocations: 8.891 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.863e-05/0.003055, allocations: 113.7 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.003063, allocations: 384 / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.003073, allocations: 12.3 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.003215, allocations: 66.22 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.003222, allocations: 192 / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.003229, allocations: 4.375 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.003234, allocations: 4.125 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.003375, allocations: 63.92 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.003636, allocations: 224.1 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.003747, allocations: 58.47 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.628e-05/0.003823, allocations: 40.92 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.003833, allocations: 3.938 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.003851, allocations: 38.55 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.003852, allocations: 0 / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002778/0.00413, allocations: 129.6 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.004155, allocations: 55.34 kB / 0.6209 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.403e-05/0.004209, allocations: 109.8 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.004217, allocations: 25.7 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.004249, allocations: 88.09 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.004265, allocations: 19.81 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.004287, allocations: 9.719 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.004359, allocations: 318.8 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.896e-05/0.004428, allocations: 35.95 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.341e-05/0.004492, allocations: 31.91 kB / 0.6215 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.004623, allocations: 73.05 kB / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.004624, allocations: 0 / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001542/0.004779, allocations: 109.5 kB / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.514e-05/0.004874, allocations: 4 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.004877, allocations: 0 / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.004889, allocations: 4 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/0.004964, allocations: 15.98 kB / 0.6217 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.00497, allocations: 3.984 kB / 0.6218 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.005004, allocations: 11.98 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-06/0.005009, allocations: 0 / 0.6218 GB, free: 9.691 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 5.332e-05/0.005062, allocations: 118.8 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.005075, allocations: 3.938 kB / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.005097, allocations: 12 kB / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005098, allocations: 0 / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.005102, allocations: 0 / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005105, allocations: 0 / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.005205, allocations: 132.7 kB / 0.622 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.005206, allocations: 0 / 0.622 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.005244, allocations: 19.92 kB / 0.622 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.005246, allocations: 4 kB / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.005256, allocations: 0 / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005257, allocations: 0 / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.005258, allocations: 0 / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.005447, allocations: 203.4 kB / 0.6222 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-06/0.005453, allocations: 3.938 kB / 0.6222 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.005462, allocations: 0 / 0.6222 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.113e-05/0.005513, allocations: 15.98 kB / 0.6223 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.005548, allocations: 3.984 kB / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.005551, allocations: 4 kB / 0.6223 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.135e-05/0.005583, allocations: 83.28 kB / 0.6223 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005583, allocations: 0 / 0.6223 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001406/0.005723, allocations: 11.94 kB / 0.6224 GB, free: 9.016 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.0003581/0.006081, allocations: 0.7345 MB / 0.6231 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.006265, allocations: 67.92 kB / 0.6231 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.006266, allocations: 0 / 0.6231 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.006337, allocations: 35.95 kB / 0.6232 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.006533, allocations: 17.38 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.0003152/0.006848, allocations: 150.6 kB / 0.6233 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.357e-05/0.006891, allocations: 79.16 kB / 0.6234 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.006911, allocations: 0 / 0.6234 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.006949, allocations: 12.5 kB / 0.6234 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.006949, allocations: 0 / 0.6234 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.02128, allocations: 2.32 MB / 0.6257 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.865/6.887, allocations: 2.938 kB / 0.6257 GB, free: 5.672 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.73494573123753] Failed to read output from testmodel.py, exit status != 0: 6.967725119553506 6.982949127 6.977876982 Calling exit ...