Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.00168/0.00168, allocations: 72.45 kB / 19.02 MB, free: 1.105 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.002058/0.002058, allocations: 168.2 kB / 22.29 MB, free: 3.523 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.385/1.385, allocations: 177.2 MB / 202.7 MB, free: 4.816 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.245/1.245, allocations: 154.7 MB / 413.8 MB, free: 3.117 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.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",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.003103/0.003103, allocations: 70.89 kB / 0.6181 GB, free: 1.043 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.2324/0.2355, allocations: 102 MB / 0.7177 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.002387/0.2379, allocations: 0.6869 MB / 0.7184 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2389, allocations: 0.828 MB / 0.7192 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.239, allocations: 0 / 0.7192 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.239, allocations: 3.938 kB / 0.7192 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.625e-05/0.2391, allocations: 11.94 kB / 0.7192 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.174e-05/0.2391, allocations: 7.984 kB / 0.7192 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.715e-05/0.2392, allocations: 47.84 kB / 0.7193 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.86e-05/0.2393, allocations: 11.98 kB / 0.7193 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.472e-05/0.2394, allocations: 27.92 kB / 0.7193 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.2395, allocations: 23.91 kB / 0.7193 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2395, allocations: 0 / 0.7193 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.2395, allocations: 4 kB / 0.7193 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.2395, allocations: 8 kB / 0.7193 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.2395, allocations: 19.86 kB / 0.7193 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.2396, allocations: 40.09 kB / 0.7194 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2397, allocations: 0 / 0.7194 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2397, allocations: 0 / 0.7194 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2397, allocations: 0 / 0.7194 GB, free: 9.453 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.0005326/0.2402, allocations: 290.2 kB / 0.7197 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2402, allocations: 8.031 kB / 0.7197 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.2403, allocations: 34.75 kB / 0.7197 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.2403, allocations: 4.891 kB / 0.7197 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.2404, allocations: 122.4 kB / 0.7198 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2404, allocations: 384 / 0.7198 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.2404, allocations: 4.375 kB / 0.7198 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.2407, allocations: 70.22 kB / 0.7199 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2407, allocations: 3.938 kB / 0.7199 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.2407, allocations: 0 / 0.7199 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2407, allocations: 0 / 0.7199 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.241, allocations: 63.92 kB / 0.72 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.2414, allocations: 239.9 kB / 0.7202 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.2416, allocations: 54.53 kB / 0.7202 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.2418, allocations: 44.91 kB / 0.7203 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.2418, allocations: 4 kB / 0.7203 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.2418, allocations: 34.5 kB / 0.7203 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.2418, allocations: 0 / 0.7203 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005603/0.2424, allocations: 133.5 kB / 0.7204 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.2424, allocations: 51.41 kB / 0.7205 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.2425, allocations: 109.8 kB / 0.7206 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.2426, allocations: 25.7 kB / 0.7206 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.2426, allocations: 88.12 kB / 0.7207 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.2426, allocations: 15.84 kB / 0.7207 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.2427, allocations: 13.72 kB / 0.7207 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.2428, allocations: 314.8 kB / 0.721 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.243, allocations: 35.95 kB / 0.7211 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.2431, allocations: 31.97 kB / 0.7211 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.2434, allocations: 72.72 kB / 0.7212 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2434, allocations: 0 / 0.7212 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003451/0.2438, allocations: 101.6 kB / 0.7213 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2438, allocations: 4 kB / 0.7213 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2438, allocations: 4 kB / 0.7213 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2438, allocations: 0 / 0.7213 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.2439, allocations: 19.97 kB / 0.7213 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2439, allocations: 0 / 0.7213 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.244, allocations: 19.92 kB / 0.7213 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.244, allocations: 0 / 0.7213 GB, free: 7.277 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.038e-05/0.2441, allocations: 113.8 kB / 0.7214 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.2442, allocations: 3.953 kB / 0.7214 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.2442, allocations: 12 kB / 0.7214 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2442, allocations: 3.984 kB / 0.7214 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2442, allocations: 0 / 0.7214 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2442, allocations: 0 / 0.7214 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.2444, allocations: 136.7 kB / 0.7216 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2444, allocations: 0 / 0.7216 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.2445, allocations: 19.98 kB / 0.7216 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2445, allocations: 0 / 0.7216 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.2445, allocations: 0 / 0.7216 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2445, allocations: 0 / 0.7216 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2445, allocations: 3.938 kB / 0.7216 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.2449, allocations: 195.4 kB / 0.7218 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.2449, allocations: 7.953 kB / 0.7218 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2449, allocations: 4 kB / 0.7218 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.245, allocations: 11.98 kB / 0.7218 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.2451, allocations: 7.984 kB / 0.7218 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.2451, allocations: 0 / 0.7218 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001831/0.2453, allocations: 83.28 kB / 0.7219 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2453, allocations: 3.938 kB / 0.7219 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002267/0.2455, allocations: 11.94 kB / 0.7219 GB, free: 6.598 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.0007438/0.2462, allocations: 0.7322 MB / 0.7226 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003694/0.2466, allocations: 63.97 kB / 0.7227 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2466, allocations: 0 / 0.7227 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.2468, allocations: 40.03 kB / 0.7227 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.2471, allocations: 15.17 kB / 0.7227 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.2476, allocations: 170.8 kB / 0.7229 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.924e-05/0.2476, allocations: 63.34 kB / 0.723 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.2477, allocations: 0 / 0.723 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.2477, allocations: 16.5 kB / 0.723 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.2477, allocations: 0 / 0.723 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.278, allocations: 2.3 MB / 0.7252 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.71, allocations: 6.703 kB / 0.7252 GB, free: 3.227 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Add.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.743111333998968] Failed to read output from testmodel.py, exit status != 0: 11.821315772991511 11.8487484 11.604549733 Calling exit ...