Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.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.0008011/0.0008011, 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.0008736/0.0008736, allocations: 217.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.987/0.987, 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.8212/0.8212, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.Atan2,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2",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.001182/0.001182, allocations: 62.25 kB / 0.7183 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5205/0.5217, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001507/0.5232, allocations: 0.7177 MB / 0.8186 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000735/0.5239, allocations: 0.88 MB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.524, allocations: 0 / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.524, allocations: 3.938 kB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.5241, allocations: 8.734 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.5243, allocations: 17.42 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.5244, allocations: 48.33 kB / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.5245, allocations: 7.984 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.333e-05/0.5246, allocations: 23.77 kB / 0.8196 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.05e-05/0.5247, allocations: 25.06 kB / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.5247, allocations: 3.25 kB / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.168e-05/0.5247, allocations: 12.48 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.5247, allocations: 9.906 kB / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.5248, allocations: 18.73 kB / 0.8196 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.5249, allocations: 42.03 kB / 0.8197 GB, free: 40 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5249, allocations: 0 / 0.8197 GB, free: 40 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.295e-06/0.5249, allocations: 4.75 kB / 0.8197 GB, free: 36 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5249, allocations: 1.156 kB / 0.8197 GB, free: 36 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004236/0.5253, allocations: 289.6 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.5254, allocations: 15.22 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.5254, allocations: 31.45 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.201e-05/0.5255, allocations: 10.92 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.145e-05/0.5256, allocations: 114.6 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.5256, allocations: 384 / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.5256, allocations: 11.52 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.5257, allocations: 67.83 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5258, allocations: 3.938 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.5258, allocations: 4 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5258, allocations: 2.531 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.5259, allocations: 67 kB / 0.8203 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.5263, allocations: 236.7 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.5264, allocations: 58.56 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.5265, allocations: 37.78 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.5265, allocations: 6.719 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.5265, allocations: 30.56 kB / 0.8206 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.5265, allocations: 0 / 0.8206 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000325/0.5268, allocations: 124.1 kB / 0.8207 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.5269, allocations: 63.3 kB / 0.8208 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.5269, allocations: 109.3 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.527, allocations: 26.31 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.527, allocations: 85.05 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.527, allocations: 16.5 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.527, allocations: 12.47 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.5271, allocations: 317.5 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.5272, allocations: 37 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.5273, allocations: 30.56 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.5274, allocations: 71.25 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5274, allocations: 0 / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001781/0.5276, allocations: 104.2 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.5276, allocations: 2.625 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5276, allocations: 4.156 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.5276, allocations: 0 / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.891e-05/0.5277, allocations: 20.73 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.5277, allocations: 3.938 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.5278, allocations: 16.41 kB / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.5278, allocations: 7.109 kB / 0.8216 GB, free: 14.39 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 (3): * Single equations (assignments): 3 * 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.908e-05/0.5278, allocations: 117.1 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.5278, allocations: 3.953 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.5281, allocations: 101.6 kB / 0.8218 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5281, allocations: 4 kB / 0.8218 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.5281, allocations: 0.5156 kB / 0.8218 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5281, allocations: 1.5 kB / 0.8218 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.5282, allocations: 144.6 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5282, allocations: 0 / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.5283, allocations: 12.88 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5283, allocations: 5.953 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.5283, allocations: 4 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5283, allocations: 0 / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5283, allocations: 1.734 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.5285, allocations: 198.4 kB / 0.8222 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.5285, allocations: 4.125 kB / 0.8222 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.5285, allocations: 0 / 0.8222 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.378e-05/0.5286, allocations: 14.69 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.5286, allocations: 9.938 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.5286, allocations: 0 / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.438e-05/0.5287, allocations: 88.33 kB / 0.8223 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5287, allocations: 0 / 0.8223 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001468/0.5288, allocations: 7.781 kB / 0.8223 GB, free: 13.81 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 (3): * Single equations (assignments): 3 * 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.0004846/0.5293, allocations: 0.7329 MB / 0.823 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.5295, allocations: 65.38 kB / 0.8231 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5295, allocations: 0 / 0.8231 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.461e-05/0.5296, allocations: 43.95 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.5298, allocations: 3.594 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.5303, allocations: 160.7 kB / 0.8233 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.5305, allocations: 0.6797 MB / 0.824 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.338e-05/0.5306, allocations: 7.125 kB / 0.824 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.5306, allocations: 16.98 kB / 0.824 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.5306, allocations: 0 / 0.824 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.545, allocations: 1.747 MB / 0.8257 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.556/7.101, allocations: 7.594 kB / 0.8257 GB, free: 11.79 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.110742839053273] Failed to read output from testmodel.py, exit status != 0: 7.177546516060829 7.192188081 6.66477571 Calling exit ...