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.0008024/0.0008024, 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.001022/0.001022, allocations: 169.9 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.8894/0.8894, allocations: 177.2 MB / 202.8 MB, free: 5.727 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.712/0.712, allocations: 154.6 MB / 413.8 MB, free: 0.7812 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 1.773e-06/1.773e-06, allocations: 0 / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.501e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001067/0.001082, allocations: 0.6572 MB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006367/0.001719, allocations: 0.8237 MB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.001744, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.001766, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.001813, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.001974, allocations: 15.92 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.592e-05/0.002029, allocations: 23.92 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.62e-05/0.002106, allocations: 4 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.764e-05/0.002163, allocations: 15.92 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.849e-05/0.002192, allocations: 12 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.002205, allocations: 3.984 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.786e-05/0.002243, allocations: 11.92 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.002255, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.002268, allocations: 4 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.53e-05/0.002353, allocations: 27.89 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.002356, allocations: 4 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002357, allocations: 0 / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.945e-06/0.00236, allocations: 0 / 0.6197 GB, free: 11.98 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.000284/0.002644, allocations: 258.3 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.002677, allocations: 12.03 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.628e-05/0.002704, allocations: 34.75 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.002757, allocations: 8.891 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.496e-05/0.002822, allocations: 105.7 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.002831, allocations: 4.375 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.002838, allocations: 384 / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.002951, allocations: 50.23 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.002958, allocations: 192 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.002965, allocations: 384 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.00297, allocations: 4.125 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.44e-05/0.003054, allocations: 43.94 kB / 0.6202 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.003291, allocations: 212 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.044e-05/0.003361, allocations: 42.53 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.003401, allocations: 16.91 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.003416, allocations: 4 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.003434, allocations: 38.5 kB / 0.6205 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.003435, allocations: 4 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001947/0.00363, allocations: 81.59 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.003657, allocations: 55.34 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.922e-05/0.003706, allocations: 101.8 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.003715, allocations: 25.7 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.003744, allocations: 88.14 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.003758, allocations: 11.83 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.00378, allocations: 13.84 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.003853, allocations: 314.8 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.003891, allocations: 19.97 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.003925, allocations: 15.98 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.003996, allocations: 36.83 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.003998, allocations: 0 / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.584e-05/0.004094, allocations: 77.59 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.004104, allocations: 4 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.004108, allocations: 0 / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.004117, allocations: 4 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.004171, allocations: 7.984 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.004174, allocations: 0 / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.004196, allocations: 7.984 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-06/0.004199, allocations: 0 / 0.6214 GB, free: 10.11 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 4.804e-05/0.004247, allocations: 114.9 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.004259, allocations: 3.938 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.004378, allocations: 76.92 kB / 0.6215 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.00438, allocations: 0 / 0.6215 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.004384, allocations: 0 / 0.6215 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.004387, allocations: 0 / 0.6215 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.456e-05/0.004482, allocations: 124.8 kB / 0.6217 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.004484, allocations: 4 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.004508, allocations: 15.92 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.00451, allocations: 7.969 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.004516, allocations: 0 / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.004517, allocations: 0 / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004517, allocations: 0 / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.00463, allocations: 159.5 kB / 0.6218 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-06/0.004638, allocations: 11.94 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.004646, allocations: 0 / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.611e-05/0.004682, allocations: 7.984 kB / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.00471, allocations: 4.031 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.004712, allocations: 0 / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.004741, allocations: 79.28 kB / 0.6219 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004741, allocations: 0 / 0.6219 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001414/0.004883, allocations: 15.88 kB / 0.622 GB, free: 9.426 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.0002771/0.00516, allocations: 0.6928 MB / 0.6226 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.005271, allocations: 36 kB / 0.6227 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005273, allocations: 0 / 0.6227 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.005313, allocations: 27.91 kB / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.005496, allocations: 13.03 kB / 0.6227 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.005774, allocations: 126.6 kB / 0.6228 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.783e-05/0.005812, allocations: 63.34 kB / 0.6229 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.589e-05/0.005828, allocations: 8.125 kB / 0.6229 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.005855, allocations: 8.5 kB / 0.6229 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of SimCode: time 3.8e-07/0.005856, allocations: 0 / 0.6229 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01299/0.01884, allocations: 1.948 MB / 0.6248 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/6.902, allocations: 7.438 kB / 0.6248 GB, free: 6.559 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.6451347284019] Failed to read output from testmodel.py, exit status != 0: 6.986054403707385 6.998213424 6.994045308 Calling exit ...