Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.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.0008277/0.0008277, 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.0009836/0.0009836, 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.9156/0.9156, allocations: 177.1 MB / 202.8 MB, free: 5.547 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.7136/0.7136, allocations: 154.6 MB / 413.8 MB, free: 0.7461 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.Acos,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.426e-06/3.426e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.682e-05, allocations: 3.031 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002/0.002027, allocations: 0.659 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.00311, allocations: 0.847 MB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.00315, allocations: 0 / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.003182, allocations: 3.938 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.432e-05/0.003247, allocations: 4 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.003451, allocations: 11.98 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.809e-05/0.003529, allocations: 23.91 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.003636, allocations: 8 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.003716, allocations: 23.8 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.003757, allocations: 7.984 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.003773, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.997e-05/0.003823, allocations: 12 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.003837, allocations: 0 / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.003857, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.003978, allocations: 39.81 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.00398, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.393e-06/0.003982, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.003987, allocations: 0 / 0.6198 GB, free: 11.96 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.0004128/0.0044, allocations: 258.4 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.004442, allocations: 8.031 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.004479, allocations: 34.75 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.541e-05/0.004555, allocations: 8.891 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.051e-05/0.004645, allocations: 105.8 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.004657, allocations: 384 / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-06/0.004665, allocations: 4.375 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.004817, allocations: 50.23 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.004825, allocations: 4.125 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.004834, allocations: 384 / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.00484, allocations: 4.125 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.004965, allocations: 35.95 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.005292, allocations: 208 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.00541, allocations: 42.59 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/0.005474, allocations: 20.91 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.005494, allocations: 0 / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.005521, allocations: 42.44 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.005522, allocations: 0 / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002852/0.005807, allocations: 81.59 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.005843, allocations: 51.53 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.715e-05/0.005911, allocations: 105.8 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.005924, allocations: 29.7 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.005963, allocations: 88.02 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.005981, allocations: 7.953 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.006014, allocations: 13.72 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.00612, allocations: 314.8 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.777e-05/0.006178, allocations: 15.98 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.006229, allocations: 19.92 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.006339, allocations: 36.89 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006341, allocations: 4 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001504/0.006492, allocations: 69.59 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.006507, allocations: 10.03 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.006512, allocations: 3.938 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.006524, allocations: 0 / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.006605, allocations: 12.02 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.00661, allocations: 0 / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.006644, allocations: 7.984 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.006651, allocations: 4 kB / 0.6214 GB, free: 10.1 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 6.428e-05/0.006715, allocations: 110.8 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.006737, allocations: 3.938 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.006916, allocations: 76.92 kB / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.006918, allocations: 192 / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.006922, allocations: 4.031 kB / 0.6216 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.006927, allocations: 3.984 kB / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.007074, allocations: 124.8 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.007076, allocations: 4 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.00712, allocations: 11.98 kB / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.007124, allocations: 3.938 kB / 0.6217 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.00713, allocations: 0 / 0.6217 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.007132, allocations: 0 / 0.6217 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007133, allocations: 0 / 0.6217 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.007306, allocations: 171.4 kB / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.007315, allocations: 7.938 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.007327, allocations: 0 / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.007392, allocations: 7.984 kB / 0.6219 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.007425, allocations: 0 / 0.6219 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.007429, allocations: 4 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.284e-05/0.007462, allocations: 79.27 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.007462, allocations: 3.938 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002512/0.007713, allocations: 4 kB / 0.622 GB, free: 9.418 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.0004371/0.00815, allocations: 0.7007 MB / 0.6227 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.008314, allocations: 31.97 kB / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.008317, allocations: 0 / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.194e-05/0.008379, allocations: 23.97 kB / 0.6227 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.008717, allocations: 8.156 kB / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.009145, allocations: 126.6 kB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.225e-05/0.009197, allocations: 59.34 kB / 0.6229 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.009223, allocations: 7.938 kB / 0.6229 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.009264, allocations: 12.5 kB / 0.6229 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of SimCode: time 7.62e-07/0.009265, allocations: 0 / 0.6229 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.02605, allocations: 1.959 MB / 0.6248 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.836/6.862, allocations: 0 / 0.6248 GB, free: 6.547 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos_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_Acos.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.66378574538976] Failed to read output from testmodel.py, exit status != 0: 6.94592042081058 6.956112104 6.95030622 Calling exit ...