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.001324/0.001324, allocations: 71.75 kB / 19.02 MB, free: 1.23 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.001408/0.001408, allocations: 157.3 kB / 22.28 MB, free: 3.617 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 1.386/1.386, allocations: 177.2 MB / 202.7 MB, free: 4.789 MB / 186.7 MB " [Timeout remaining time 178] 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 1.299/1.299, allocations: 154.7 MB / 413.8 MB, free: 3.156 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 178] 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: 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.002267/0.002267, allocations: 66.77 kB / 0.6181 GB, free: 1.039 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2463, allocations: 102 MB / 0.7177 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002047/0.2483, allocations: 0.6936 MB / 0.7184 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.2494, allocations: 0.8242 MB / 0.7192 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.2494, allocations: 4 kB / 0.7192 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.2495, allocations: 3.938 kB / 0.7192 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.2496, allocations: 7.875 kB / 0.7192 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.514e-05/0.2496, allocations: 7.984 kB / 0.7192 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.2497, allocations: 51.84 kB / 0.7193 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2498, allocations: 7.984 kB / 0.7193 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.987e-05/0.2499, allocations: 31.91 kB / 0.7193 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.421e-05/0.25, allocations: 19.92 kB / 0.7193 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.25, allocations: 4 kB / 0.7193 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-06/0.25, allocations: 4 kB / 0.7193 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.25, allocations: 4 kB / 0.7193 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.25, allocations: 15.92 kB / 0.7193 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.2501, allocations: 48.02 kB / 0.7194 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2501, allocations: 0 / 0.7194 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2502, allocations: 0 / 0.7194 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2502, allocations: 0 / 0.7194 GB, free: 9.43 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.0005693/0.2507, allocations: 294.2 kB / 0.7197 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.2508, allocations: 12.03 kB / 0.7197 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.2508, allocations: 30.75 kB / 0.7197 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.2508, allocations: 4.891 kB / 0.7197 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.251, allocations: 114.4 kB / 0.7198 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.251, allocations: 4.375 kB / 0.7198 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.251, allocations: 4.375 kB / 0.7198 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.2513, allocations: 62.22 kB / 0.7199 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2513, allocations: 3.938 kB / 0.7199 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2513, allocations: 15.94 kB / 0.7199 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2513, allocations: 3.984 kB / 0.7199 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.2516, allocations: 59.94 kB / 0.72 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.252, allocations: 235.9 kB / 0.7202 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.2522, allocations: 50.55 kB / 0.7202 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.2524, allocations: 48.91 kB / 0.7203 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.2524, allocations: 0 / 0.7203 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.2524, allocations: 30.56 kB / 0.7203 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2524, allocations: 0 / 0.7203 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005623/0.253, allocations: 133.5 kB / 0.7204 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.2531, allocations: 55.41 kB / 0.7205 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.789e-05/0.2532, allocations: 105.8 kB / 0.7206 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.2532, allocations: 29.7 kB / 0.7206 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.2532, allocations: 84.14 kB / 0.7207 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.2533, allocations: 11.91 kB / 0.7207 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.2533, allocations: 13.72 kB / 0.7207 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2535, allocations: 318.8 kB / 0.721 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.2536, allocations: 27.97 kB / 0.7211 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.2538, allocations: 35.95 kB / 0.7211 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.254, allocations: 72.95 kB / 0.7212 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.254, allocations: 3.984 kB / 0.7212 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003409/0.2544, allocations: 109.5 kB / 0.7213 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2544, allocations: 4 kB / 0.7213 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2544, allocations: 0 / 0.7213 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2544, allocations: 0 / 0.7213 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.2545, allocations: 15.98 kB / 0.7213 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2545, allocations: 0 / 0.7213 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.2546, allocations: 15.92 kB / 0.7213 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.2546, allocations: 4 kB / 0.7213 GB, free: 7.258 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 9.448e-05/0.2547, allocations: 121.8 kB / 0.7214 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.2547, allocations: 7.953 kB / 0.7214 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.2548, allocations: 4 kB / 0.7214 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2548, allocations: 0 / 0.7214 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2548, allocations: 0 / 0.7214 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.2548, allocations: 4 kB / 0.7214 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.255, allocations: 136.7 kB / 0.7216 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.255, allocations: 0 / 0.7216 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.2551, allocations: 15.97 kB / 0.7216 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2551, allocations: 0 / 0.7216 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.2551, allocations: 7.938 kB / 0.7216 GB, free: 6.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2551, allocations: 4 kB / 0.7216 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2551, allocations: 0 / 0.7216 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.2555, allocations: 199.3 kB / 0.7218 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.2555, allocations: 4 kB / 0.7218 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.2555, allocations: 0 / 0.7218 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2556, allocations: 15.97 kB / 0.7218 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.2556, allocations: 4 kB / 0.7218 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.2556, allocations: 0 / 0.7218 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.672e-05/0.2557, allocations: 91.58 kB / 0.7219 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2557, allocations: 0 / 0.7219 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002138/0.2559, allocations: 4 kB / 0.7219 GB, free: 6.578 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.0008209/0.2567, allocations: 0.7318 MB / 0.7226 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.2571, allocations: 71.92 kB / 0.7227 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2571, allocations: 0 / 0.7227 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.2572, allocations: 35.91 kB / 0.7227 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.2576, allocations: 16.16 kB / 0.7227 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.2581, allocations: 162.9 kB / 0.7229 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.854e-05/0.2581, allocations: 63.34 kB / 0.723 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.693e-05/0.2582, allocations: 7.984 kB / 0.723 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.2582, allocations: 12.5 kB / 0.723 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.2582, allocations: 0 / 0.723 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.2883, allocations: 2.298 MB / 0.7252 GB, free: 3.211 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.52, allocations: 11.98 kB / 0.7252 GB, free: 3.207 MB / 0.6198 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.535919429996284] Failed to read output from testmodel.py, exit status != 0: 11.624247419997118 11.642472053 11.388902262 Calling exit ...