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.0007641/0.0007641, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008015/0.0008015, allocations: 223.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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.9813/0.9813, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.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.8083/0.8083, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [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.0009405/0.0009405, allocations: 62.66 kB / 0.7183 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5555/0.5564, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.00133/0.5578, allocations: 0.6645 MB / 0.8186 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006516/0.5584, allocations: 0.8504 MB / 0.8194 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.5585, allocations: 3.938 kB / 0.8194 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.5585, allocations: 4.625 kB / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.5585, allocations: 3.344 kB / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.5587, allocations: 14.72 kB / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.38e-05/0.5588, allocations: 26.72 kB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.5589, allocations: 3.641 kB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.5589, allocations: 8.188 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.556e-05/0.559, allocations: 18.33 kB / 0.8195 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.559, allocations: 1.781 kB / 0.8195 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.52e-05/0.559, allocations: 10.12 kB / 0.8195 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.559, allocations: 5.312 kB / 0.8195 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.5591, allocations: 15.84 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.5592, allocations: 32.23 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5592, allocations: 0.6094 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.594e-06/0.5592, allocations: 0 / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.5592, allocations: 0 / 0.8195 GB, free: 132 kB / 0.6042 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.0003448/0.5595, allocations: 264.6 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.5596, allocations: 9.906 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.5596, allocations: 31.66 kB / 0.8198 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.821e-05/0.5597, allocations: 4.188 kB / 0.8198 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.53e-05/0.5597, allocations: 110.1 kB / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5597, allocations: 5.203 kB / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.5598, allocations: 3.344 kB / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.5599, allocations: 47.03 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.5599, allocations: 3.938 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.5599, allocations: 5.719 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.5599, allocations: 0 / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.692e-05/0.56, allocations: 33.33 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.5603, allocations: 217.1 kB / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.944e-05/0.5603, allocations: 40.66 kB / 0.8203 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.5604, allocations: 29.31 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.5604, allocations: 0 / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.5604, allocations: 31.22 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.5604, allocations: 0 / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002184/0.5606, allocations: 79.53 kB / 0.8204 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.5607, allocations: 59.89 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/0.5607, allocations: 106 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.5608, allocations: 25.7 kB / 0.8206 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.5608, allocations: 80.8 kB / 0.8207 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.5608, allocations: 8.125 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.5608, allocations: 14.33 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.136e-05/0.5609, allocations: 317 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.695e-05/0.561, allocations: 22.17 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.561, allocations: 14.45 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.299e-05/0.5611, allocations: 37.61 kB / 0.8211 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5611, allocations: 3.938 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001031/0.5612, allocations: 70.42 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.5612, allocations: 13.14 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5612, allocations: 0 / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.5612, allocations: 0 / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.5613, allocations: 9.141 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.5613, allocations: 0.625 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.5613, allocations: 15.66 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.5613, allocations: 5.156 kB / 0.8212 GB, free: 14.57 MB / 0.6198 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.415e-05/0.5614, allocations: 114.9 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.5614, allocations: 3.781 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.5615, allocations: 72.88 kB / 0.8214 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5615, allocations: 4.969 kB / 0.8214 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5615, allocations: 0.7031 kB / 0.8214 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5615, allocations: 1.125 kB / 0.8214 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.5616, allocations: 132.6 kB / 0.8215 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5616, allocations: 0.6094 kB / 0.8215 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/0.5617, allocations: 15.42 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.5617, allocations: 0 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.5617, allocations: 0 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.5617, allocations: 2.766 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.5617, allocations: 0 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.5618, allocations: 164.2 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-06/0.5618, allocations: 10.02 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.5618, allocations: 2.375 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.5618, allocations: 4.5 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.5619, allocations: 2.797 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.5619, allocations: 2.125 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.843e-05/0.5619, allocations: 79.59 kB / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5619, allocations: 0 / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001452/0.5621, allocations: 7.938 kB / 0.8218 GB, free: 14 MB / 0.6198 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.0003279/0.5624, allocations: 0.6941 MB / 0.8224 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.5625, allocations: 39.91 kB / 0.8225 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5625, allocations: 4.094 kB / 0.8225 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.055e-05/0.5626, allocations: 19.59 kB / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.5628, allocations: 7.953 kB / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.5631, allocations: 131.8 kB / 0.8226 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.5632, allocations: 0.6762 MB / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.928e-05/0.5633, allocations: 5.375 kB / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.5633, allocations: 10.06 kB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.5633, allocations: 0 / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.5769, allocations: 1.403 MB / 0.8247 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.245/6.822, allocations: 2.938 kB / 0.8247 GB, free: 12.02 MB / 0.6198 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.877846538089216] Failed to read output from testmodel.py, exit status != 0: 6.899390971055254 6.912108749 6.350713682 Calling exit ...