Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.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.0007875/0.0007875, 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.0008549/0.0008549, 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.8862/0.8862, allocations: 177.2 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.713/0.713, allocations: 154.6 MB / 413.7 MB, free: 0.7773 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.Asin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.587e-06/3.587e-06, allocations: 0 / 0.6182 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/3.023e-05, allocations: 4.219 kB / 0.6182 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002158/0.002188, allocations: 0.6419 MB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.003051, allocations: 0.8198 MB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.003089, allocations: 4 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.003121, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.776e-05/0.003189, allocations: 11.88 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.003395, allocations: 7.984 kB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.003466, allocations: 27.91 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.003573, allocations: 4 kB / 0.6196 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.463e-05/0.003658, allocations: 19.92 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.003699, allocations: 0 / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.003722, allocations: 4 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.614e-05/0.003778, allocations: 11.94 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.003796, allocations: 7.984 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.003817, allocations: 8 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.003938, allocations: 27.88 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.003943, allocations: 4 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.693e-06/0.003945, allocations: 0 / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.00395, allocations: 0 / 0.6197 GB, free: 11.95 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003944/0.004345, allocations: 258.3 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.004393, allocations: 15.97 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.004426, allocations: 34.75 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.004501, allocations: 4.891 kB / 0.62 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.679e-05/0.004588, allocations: 113.8 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.004598, allocations: 384 / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.004605, allocations: 384 / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.004746, allocations: 50.23 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-06/0.004753, allocations: 192 / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.004762, allocations: 384 / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.004768, allocations: 8.125 kB / 0.6202 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/0.004855, allocations: 31.95 kB / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.005446, allocations: 216 kB / 0.6204 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.078e-05/0.005536, allocations: 42.66 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.005581, allocations: 16.84 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.005602, allocations: 0 / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.005625, allocations: 38.5 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.005625, allocations: 4 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002423/0.005868, allocations: 85.53 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.005903, allocations: 51.41 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.005965, allocations: 105.8 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.005975, allocations: 25.7 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.006009, allocations: 80.14 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.006026, allocations: 7.953 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.006051, allocations: 13.72 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.006132, allocations: 314.8 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.006182, allocations: 23.97 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/0.006215, allocations: 16.11 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.811e-05/0.006293, allocations: 40.77 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006296, allocations: 0 / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001069/0.006402, allocations: 77.53 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.006418, allocations: 6.031 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.006423, allocations: 4.094 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.006436, allocations: 0 / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.006508, allocations: 11.98 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.006513, allocations: 0 / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.006536, allocations: 8 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.006542, allocations: 3.984 kB / 0.6214 GB, free: 10.08 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 (2): * Single equations (assignments): 2 * 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.563e-05/0.006598, allocations: 106.8 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.00661, allocations: 7.938 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.006749, allocations: 80.86 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006751, allocations: 0 / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.006756, allocations: 0 / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.006759, allocations: 0 / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.887e-05/0.006858, allocations: 128.8 kB / 0.6217 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006859, allocations: 0 / 0.6217 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.006888, allocations: 7.984 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.006891, allocations: 3.938 kB / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.006899, allocations: 4 kB / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.0069, allocations: 0 / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006901, allocations: 4.031 kB / 0.6217 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.007036, allocations: 159.5 kB / 0.6218 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.007043, allocations: 8.125 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.007053, allocations: 0 / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.704e-05/0.00709, allocations: 7.984 kB / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.007126, allocations: 7.984 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.007129, allocations: 0 / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.818e-05/0.007157, allocations: 83.22 kB / 0.6219 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.007157, allocations: 4.031 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001404/0.007298, allocations: 7.938 kB / 0.622 GB, free: 9.395 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 (2): * Single equations (assignments): 2 * 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.0003282/0.007626, allocations: 0.689 MB / 0.6226 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.007753, allocations: 39.91 kB / 0.6227 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007755, allocations: 0 / 0.6227 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.007796, allocations: 28 kB / 0.6227 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.008059, allocations: 4 kB / 0.6227 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.008414, allocations: 126.6 kB / 0.6228 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.054e-05/0.008464, allocations: 67.33 kB / 0.6229 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.216e-05/0.008486, allocations: 0 / 0.6229 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.00853, allocations: 16.44 kB / 0.6229 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.00853, allocations: 64 / 0.6229 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.02519, allocations: 1.947 MB / 0.6248 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.517/6.542, allocations: 7.016 kB / 0.6248 GB, free: 6.527 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.185686337761581] Failed to read output from testmodel.py, exit status != 0: 6.624537620693445 6.63395023 6.628295148 Calling exit ...