Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007536/0.0007536, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008222/0.0008222, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9588/0.9588, allocations: 230.6 MB / 256 MB, free: 9.598 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.8016/0.8016, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.Asin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin",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.001404/0.001404, allocations: 66.77 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5517/0.5531, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001515/0.5546, allocations: 0.6607 MB / 0.8185 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007208/0.5553, allocations: 0.8133 MB / 0.8193 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.5554, allocations: 0 / 0.8193 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.5554, allocations: 3.469 kB / 0.8193 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.781e-05/0.5554, allocations: 3.938 kB / 0.8193 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.5556, allocations: 9.156 kB / 0.8193 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.255e-05/0.5557, allocations: 27.77 kB / 0.8193 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.5558, allocations: 13.69 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.111e-05/0.5559, allocations: 7.641 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.783e-05/0.5559, allocations: 9.75 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.5559, allocations: 1.5 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.279e-05/0.556, allocations: 8.812 kB / 0.8194 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.556, allocations: 1.031 kB / 0.8194 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.556, allocations: 12.27 kB / 0.8194 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.5561, allocations: 27.78 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5561, allocations: 0 / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5561, allocations: 3.938 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5562, allocations: 1.312 kB / 0.8194 GB, free: 15.96 MB / 0.6198 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.000336/0.5565, allocations: 270.3 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5565, allocations: 19.53 kB / 0.8197 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.5566, allocations: 31.27 kB / 0.8197 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.211e-05/0.5566, allocations: 4.141 kB / 0.8197 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.245e-05/0.5567, allocations: 109.5 kB / 0.8198 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.5567, allocations: 4.375 kB / 0.8198 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.5567, allocations: 1.75 kB / 0.8198 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.5569, allocations: 50.19 kB / 0.8199 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5569, allocations: 3.938 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.5569, allocations: 4 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.5569, allocations: 3.5 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.557, allocations: 34.73 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.5573, allocations: 214.4 kB / 0.8201 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.864e-05/0.5573, allocations: 37.64 kB / 0.8202 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.5574, allocations: 21.97 kB / 0.8202 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.5574, allocations: 7.875 kB / 0.8202 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.5574, allocations: 31.17 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.5574, allocations: 0 / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002252/0.5577, allocations: 84.3 kB / 0.8203 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.5577, allocations: 51.92 kB / 0.8203 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.668e-05/0.5577, allocations: 100.2 kB / 0.8204 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.5578, allocations: 25.7 kB / 0.8205 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.5578, allocations: 84.83 kB / 0.8205 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.5578, allocations: 8.594 kB / 0.8205 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.5579, allocations: 15.97 kB / 0.8206 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.5579, allocations: 315 kB / 0.8209 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/0.558, allocations: 15.38 kB / 0.8209 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-05/0.558, allocations: 17.45 kB / 0.8209 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.349e-05/0.5581, allocations: 36.38 kB / 0.8209 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5581, allocations: 8 kB / 0.8209 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001029/0.5582, allocations: 70.97 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.5582, allocations: 4.484 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5582, allocations: 0 / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.5582, allocations: 3.812 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.5583, allocations: 6.578 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.5583, allocations: 0.6094 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/0.5583, allocations: 14.11 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.5583, allocations: 9.438 kB / 0.821 GB, free: 14.4 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 4.888e-05/0.5584, allocations: 112.2 kB / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.5584, allocations: 1.719 kB / 0.8212 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.5586, allocations: 82.45 kB / 0.8212 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.5586, allocations: 3.875 kB / 0.8212 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5586, allocations: 0.6562 kB / 0.8212 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5586, allocations: 4 kB / 0.8212 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.679e-05/0.5587, allocations: 126.5 kB / 0.8214 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5587, allocations: 7.469 kB / 0.8214 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.5587, allocations: 6.406 kB / 0.8214 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.5587, allocations: 0 / 0.8214 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.5587, allocations: 4.297 kB / 0.8214 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5587, allocations: 0 / 0.8214 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.5587, allocations: 0 / 0.8214 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.5588, allocations: 158.6 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-06/0.5588, allocations: 8.547 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.5589, allocations: 10.2 kB / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/0.5589, allocations: 7 kB / 0.8216 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.5589, allocations: 1.312 kB / 0.8216 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.5589, allocations: 3.906 kB / 0.8216 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.819e-05/0.559, allocations: 79.03 kB / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.559, allocations: 0 / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001421/0.5591, allocations: 1.938 kB / 0.8216 GB, free: 13.84 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.0003895/0.5595, allocations: 0.692 MB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.5596, allocations: 43.42 kB / 0.8224 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5597, allocations: 0.8125 kB / 0.8224 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.712e-05/0.5597, allocations: 16.61 kB / 0.8224 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.5599, allocations: 2.547 kB / 0.8224 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.5603, allocations: 147.3 kB / 0.8225 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.736e-05/0.5604, allocations: 59.69 kB / 0.8226 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.12e-05/0.5604, allocations: 1.375 kB / 0.8226 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.5604, allocations: 9.578 kB / 0.8226 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of SimCode: time 8.52e-07/0.5604, allocations: 0 / 0.8226 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.576, allocations: 1.815 MB / 0.8243 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.384/6.96, allocations: 16.34 kB / 0.8244 GB, free: 12.07 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.900339886080474] Failed to read output from testmodel.py, exit status != 0: 7.035899747628719 7.045771321 6.48758129 Calling exit ...