Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001068/0.001068, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0009778/0.0009778, allocations: 162 kB / 22.43 MB, free: 2.145 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.887/0.887, allocations: 177.2 MB / 202.8 MB, free: 5.789 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7118/0.7118, allocations: 155 MB / 414.2 MB, free: 492 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Acos",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.0008921/0.0008921, allocations: 68.55 kB / 0.6187 GB, free: 13.19 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4413/0.4422, allocations: 102 MB / 0.7183 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001304/0.4435, allocations: 0.659 MB / 0.719 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006033/0.4441, allocations: 0.8478 MB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.4442, allocations: 5.156 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.4442, allocations: 0 / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.258e-05/0.4442, allocations: 3.938 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.4444, allocations: 10.69 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.4445, allocations: 24.72 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.4446, allocations: 7.984 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.4446, allocations: 11.09 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.607e-05/0.4447, allocations: 17.95 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.4447, allocations: 2.156 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.764e-05/0.4447, allocations: 4 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.4447, allocations: 6.516 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.713e-05/0.4447, allocations: 6.844 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.288e-05/0.4448, allocations: 32.17 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4448, allocations: 1 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4448, allocations: 0 / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.4448, allocations: 0 / 0.7199 GB, free: 22.02 MB / 0.6355 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.0002785/0.4451, allocations: 265.8 kB / 0.7202 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.4452, allocations: 10.25 kB / 0.7202 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.981e-05/0.4452, allocations: 36.62 kB / 0.7202 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.4452, allocations: 7.844 kB / 0.7202 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.812e-05/0.4453, allocations: 109.6 kB / 0.7203 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.4453, allocations: 5.531 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.4453, allocations: 5.469 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.4454, allocations: 45.7 kB / 0.7204 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.4454, allocations: 3.938 kB / 0.7204 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.4455, allocations: 8.562 kB / 0.7204 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4455, allocations: 5.047 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.603e-05/0.4455, allocations: 32.09 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.4458, allocations: 219.5 kB / 0.7206 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.258e-05/0.4458, allocations: 36.17 kB / 0.7207 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.4459, allocations: 23.34 kB / 0.7207 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.4459, allocations: 5.312 kB / 0.7207 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.237e-05/0.4459, allocations: 32.28 kB / 0.7207 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.4459, allocations: 0 / 0.7207 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002134/0.4461, allocations: 84.03 kB / 0.7208 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.4461, allocations: 53.11 kB / 0.7209 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.842e-05/0.4462, allocations: 104.3 kB / 0.7209 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.05e-06/0.4462, allocations: 26.77 kB / 0.721 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.061e-05/0.4462, allocations: 86.02 kB / 0.7211 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.4462, allocations: 5.859 kB / 0.7211 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.4462, allocations: 16.89 kB / 0.7211 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.195e-05/0.4463, allocations: 313.2 kB / 0.7214 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.091e-05/0.4463, allocations: 18.16 kB / 0.7214 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.4463, allocations: 18.19 kB / 0.7214 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.675e-05/0.4464, allocations: 37.69 kB / 0.7214 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4464, allocations: 8 kB / 0.7215 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.386e-05/0.4465, allocations: 70.75 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.4465, allocations: 5.281 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.4465, allocations: 1.094 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.4465, allocations: 0 / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.4466, allocations: 9.391 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4466, allocations: 0 / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.4466, allocations: 7.203 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.4466, allocations: 5.094 kB / 0.7216 GB, free: 20.46 MB / 0.6355 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 3.224e-05/0.4467, allocations: 117.1 kB / 0.7217 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.4467, allocations: 2.188 kB / 0.7217 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.4468, allocations: 78.97 kB / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.4468, allocations: 0 / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4468, allocations: 1.344 kB / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4468, allocations: 0.9062 kB / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.011e-05/0.4469, allocations: 124.1 kB / 0.7219 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4469, allocations: 4.688 kB / 0.7219 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.4469, allocations: 8.922 kB / 0.7219 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4469, allocations: 1.25 kB / 0.7219 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.4469, allocations: 4.609 kB / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.4469, allocations: 0 / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.4469, allocations: 1.062 kB / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.447, allocations: 159.8 kB / 0.722 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.447, allocations: 10.16 kB / 0.722 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-06/0.447, allocations: 9.656 kB / 0.7221 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.65e-05/0.4471, allocations: 9.484 kB / 0.7221 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.4471, allocations: 6.562 kB / 0.7221 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.4471, allocations: 1.25 kB / 0.7221 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.607e-05/0.4471, allocations: 80.83 kB / 0.7221 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4471, allocations: 0 / 0.7221 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001391/0.4472, allocations: 3.031 kB / 0.7221 GB, free: 19.89 MB / 0.6355 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.000219/0.4475, allocations: 0.6955 MB / 0.7228 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.4476, allocations: 39.16 kB / 0.7229 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4476, allocations: 5.531 kB / 0.7229 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.4476, allocations: 19.33 kB / 0.7229 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.4478, allocations: 4.188 kB / 0.7229 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.4481, allocations: 147.6 kB / 0.723 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.657e-05/0.4482, allocations: 59.92 kB / 0.7231 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.4482, allocations: 1.5 kB / 0.7231 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.4482, allocations: 10.62 kB / 0.7231 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/0.4482, allocations: 0 / 0.7231 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.4622, allocations: 1.941 MB / 0.725 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.469/6.932, allocations: 4.859 kB / 0.725 GB, free: 18.07 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Acos.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.630841250065714] Failed to read output from testmodel.py, exit status != 0: 7.007701734080911 7.017108997 6.570475689 Calling exit ...