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.0007999/0.0007999, allocations: 72.47 kB / 19.14 MB, free: 0.7734 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.0007687/0.0007687, allocations: 165.9 kB / 22.43 MB, free: 2.141 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.8824/0.8824, allocations: 177.2 MB / 202.8 MB, free: 5.516 MB / 186.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.7025/0.7025, allocations: 155 MB / 414.2 MB, free: 428 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.0008835/0.0008835, allocations: 76.33 kB / 0.6187 GB, free: 13.14 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.471/0.4718, allocations: 102 MB / 0.7183 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001386/0.4732, allocations: 0.6799 MB / 0.719 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006939/0.4739, allocations: 0.8326 MB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.474, allocations: 1.156 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.474, allocations: 4.453 kB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.179e-05/0.474, allocations: 5.516 kB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.669e-05/0.4741, allocations: 14.64 kB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.034e-05/0.4742, allocations: 42.25 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.4743, allocations: 17.23 kB / 0.7199 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.86e-05/0.4744, allocations: 21.44 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.4744, allocations: 21.56 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.4744, allocations: 7.594 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.4744, allocations: 4.125 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.4745, allocations: 11.5 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.4745, allocations: 13.88 kB / 0.72 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.677e-05/0.4746, allocations: 45.17 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4746, allocations: 0 / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4746, allocations: 1.312 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4746, allocations: 0 / 0.72 GB, free: 21.93 MB / 0.6355 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.0003744/0.475, allocations: 292.7 kB / 0.7203 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.475, allocations: 18.69 kB / 0.7203 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.475, allocations: 32.92 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.4751, allocations: 7.141 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.881e-05/0.4751, allocations: 107.5 kB / 0.7204 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.4752, allocations: 4.375 kB / 0.7204 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.4752, allocations: 2.188 kB / 0.7204 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.4753, allocations: 73.86 kB / 0.7205 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4753, allocations: 4.641 kB / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4754, allocations: 0 / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4754, allocations: 9.359 kB / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.4755, allocations: 65.36 kB / 0.7206 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.4758, allocations: 237.2 kB / 0.7208 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.4759, allocations: 54.91 kB / 0.7209 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.476, allocations: 42.41 kB / 0.7209 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.476, allocations: 1.375 kB / 0.7209 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.476, allocations: 39.5 kB / 0.7209 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.476, allocations: 1.281 kB / 0.7209 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003172/0.4763, allocations: 124 kB / 0.7211 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.4764, allocations: 56.44 kB / 0.7211 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.962e-05/0.4764, allocations: 116.1 kB / 0.7212 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.4764, allocations: 25.7 kB / 0.7213 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.579e-05/0.4764, allocations: 87.73 kB / 0.7213 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.4765, allocations: 13.48 kB / 0.7213 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.4765, allocations: 13.69 kB / 0.7214 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.779e-05/0.4765, allocations: 317.6 kB / 0.7217 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.68e-05/0.4766, allocations: 30.64 kB / 0.7217 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/0.4767, allocations: 40.31 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.4768, allocations: 70 kB / 0.7218 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4768, allocations: 0 / 0.7218 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000177/0.477, allocations: 98.39 kB / 0.7219 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.477, allocations: 6.391 kB / 0.7219 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.477, allocations: 0 / 0.7219 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.477, allocations: 1.25 kB / 0.7219 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.4771, allocations: 14.27 kB / 0.7219 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4771, allocations: 1.906 kB / 0.7219 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.4772, allocations: 11.42 kB / 0.7219 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.4772, allocations: 5 kB / 0.7219 GB, free: 20.31 MB / 0.6355 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.912e-05/0.4772, allocations: 127 kB / 0.7221 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.4772, allocations: 6.359 kB / 0.7221 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.007e-05/0.4773, allocations: 5.406 kB / 0.7221 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4773, allocations: 1.219 kB / 0.7221 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4773, allocations: 0 / 0.7221 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.4773, allocations: 1.672 kB / 0.7221 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.17e-05/0.4774, allocations: 137.4 kB / 0.7222 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.4774, allocations: 0 / 0.7222 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.4774, allocations: 16.7 kB / 0.7222 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4774, allocations: 0 / 0.7222 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.4774, allocations: 5.375 kB / 0.7222 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.4774, allocations: 0 / 0.7222 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4774, allocations: 0 / 0.7222 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.4776, allocations: 203.5 kB / 0.7224 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.4776, allocations: 1.906 kB / 0.7224 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.4776, allocations: 5.094 kB / 0.7224 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.249e-05/0.4777, allocations: 11.86 kB / 0.7224 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.4777, allocations: 13.2 kB / 0.7224 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.4777, allocations: 4 kB / 0.7224 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.526e-05/0.4778, allocations: 84.31 kB / 0.7225 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4778, allocations: 3.938 kB / 0.7225 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001491/0.4779, allocations: 9.781 kB / 0.7225 GB, free: 19.75 MB / 0.6355 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.0003218/0.4782, allocations: 0.724 MB / 0.7232 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.4784, allocations: 74.3 kB / 0.7233 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.4784, allocations: 0 / 0.7233 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.4785, allocations: 34 kB / 0.7234 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.4788, allocations: 4.578 kB / 0.7234 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.4791, allocations: 158.8 kB / 0.7235 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.4791, allocations: 63.47 kB / 0.7236 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.235e-05/0.4791, allocations: 2.328 kB / 0.7236 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.4792, allocations: 16 kB / 0.7236 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of SimCode: time 4.41e-07/0.4792, allocations: 0 / 0.7236 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.4949, allocations: 2.304 MB / 0.7258 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.468/6.963, allocations: 7.203 kB / 0.7258 GB, free: 17.9 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.619483303977177] Failed to read output from testmodel.py, exit status != 0: 7.044764114078134 7.055154291 6.578730448 Calling exit ...