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.0007764/0.0007764, 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.0008278/0.0008278, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9051/0.9051, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7036/0.7036, 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.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: Performance of FrontEnd - loaded program: time 3.536e-06/3.536e-06, allocations: 0 / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.754e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.00225/0.002278, allocations: 0.6799 MB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003462, allocations: 0.8315 MB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.003509, allocations: 0 / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.003543, allocations: 3.938 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.003623, allocations: 4 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 8.193e-05/0.003705, allocations: 15.98 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.003808, allocations: 47.78 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.003928, allocations: 11.94 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.768e-05/0.004025, allocations: 31.89 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.004069, allocations: 11.98 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.004096, allocations: 4 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.004104, allocations: 4 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.004127, allocations: 11.94 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.004154, allocations: 7.984 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.004263, allocations: 43.81 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004266, allocations: 8 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.924e-06/0.004268, allocations: 0 / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.004273, allocations: 0 / 0.6198 GB, free: 11.84 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.0004976/0.00477, allocations: 282.2 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.004819, allocations: 8.031 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.00486, allocations: 34.75 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.004889, allocations: 8.891 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.005001, allocations: 113.7 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.005014, allocations: 384 / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.005025, allocations: 8.375 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.005252, allocations: 74.14 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.00526, allocations: 192 / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.005271, allocations: 384 / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.005277, allocations: 4.125 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.00549, allocations: 63.92 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.005864, allocations: 232 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.006037, allocations: 58.47 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.006155, allocations: 36.92 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.006171, allocations: 3.938 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.006201, allocations: 38.56 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.006203, allocations: 0 / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004311/0.006634, allocations: 133.6 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.006673, allocations: 51.41 kB / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.006755, allocations: 109.8 kB / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.006768, allocations: 29.64 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.006816, allocations: 88.09 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.006838, allocations: 7.953 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.006874, allocations: 21.7 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.006969, allocations: 314.8 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.007079, allocations: 27.97 kB / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.882e-05/0.007178, allocations: 31.95 kB / 0.6215 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.007375, allocations: 76.72 kB / 0.6216 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.007377, allocations: 0 / 0.6216 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002554/0.007633, allocations: 101.5 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.007651, allocations: 7.938 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.007656, allocations: 0 / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.007671, allocations: 4 kB / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.007776, allocations: 15.92 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.007781, allocations: 4 kB / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.007837, allocations: 15.97 kB / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.007845, allocations: 4 kB / 0.6218 GB, free: 9.672 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 7.352e-05/0.007919, allocations: 110.8 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.007944, allocations: 3.938 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.00797, allocations: 12 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.007973, allocations: 0 / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.007978, allocations: 4 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.00798, allocations: 0 / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.008134, allocations: 136.7 kB / 0.622 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.008135, allocations: 0 / 0.622 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.55e-05/0.008211, allocations: 23.91 kB / 0.622 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.008214, allocations: 0 / 0.622 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.008221, allocations: 0 / 0.622 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.008223, allocations: 0 / 0.622 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.008224, allocations: 0 / 0.622 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.008513, allocations: 203.4 kB / 0.6222 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.008523, allocations: 7.922 kB / 0.6222 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.008536, allocations: 0 / 0.6222 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.008618, allocations: 11.98 kB / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.008656, allocations: 4 kB / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.008661, allocations: 4 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.915e-05/0.0087, allocations: 83.27 kB / 0.6223 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.0087, allocations: 0 / 0.6223 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002358/0.008936, allocations: 12 kB / 0.6224 GB, free: 8.996 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.0005484/0.009484, allocations: 0.7241 MB / 0.6231 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.009742, allocations: 72.28 kB / 0.6231 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.009744, allocations: 0 / 0.6231 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.009851, allocations: 39.97 kB / 0.6232 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.01019, allocations: 11.92 kB / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.01067, allocations: 146.8 kB / 0.6233 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.86e-05/0.01073, allocations: 71.27 kB / 0.6234 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.6e-05/0.01076, allocations: 7.984 kB / 0.6234 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.01081, allocations: 16.5 kB / 0.6234 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of SimCode: time 8.91e-07/0.01081, allocations: 3.938 kB / 0.6234 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.02886, allocations: 2.317 MB / 0.6257 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.715, allocations: 9.422 kB / 0.6257 GB, free: 5.648 MB / 0.5886 GB " [Timeout remaining time 653] (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: 9.378650437109172] Failed to read output from testmodel.py, exit status != 0: 6.794925309717655 6.802931029 6.7969692 Calling exit ...