Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.000782/0.000782, 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.0009212/0.0009212, allocations: 208.6 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.9596/0.9596, allocations: 230.6 MB / 256 MB, free: 9.602 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.8247/0.8247, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.Sources.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",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.0008998/0.0008998, allocations: 66.66 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5047, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001511/0.5063, allocations: 0.6011 MB / 0.8184 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006748/0.5069, allocations: 0.8511 MB / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.507, allocations: 0 / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.507, allocations: 0 / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.002e-05/0.507, allocations: 7.719 kB / 0.8192 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.5072, allocations: 5.906 kB / 0.8193 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.527e-05/0.5073, allocations: 18.16 kB / 0.8193 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.5073, allocations: 8.625 kB / 0.8193 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.5075, allocations: 15.97 kB / 0.8193 GB, free: 0 / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.5075, allocations: 17.2 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.5076, allocations: 0 / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-05/0.5076, allocations: 8.031 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.5076, allocations: 2.719 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.5076, allocations: 1.125 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.5077, allocations: 25.67 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5077, allocations: 0 / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5077, allocations: 0 / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.5078, allocations: 0.5156 kB / 0.8193 GB, free: 15.97 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00037/0.5081, allocations: 255.6 kB / 0.8196 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5082, allocations: 10.88 kB / 0.8196 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.5082, allocations: 31.41 kB / 0.8196 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.5083, allocations: 17.33 kB / 0.8196 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.752e-05/0.5084, allocations: 106.2 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.5084, allocations: 7.531 kB / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.5084, allocations: 384 / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.5085, allocations: 38.2 kB / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.5086, allocations: 3.938 kB / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.5086, allocations: 0 / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.5086, allocations: 0 / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.188e-05/0.5086, allocations: 16.34 kB / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.5087, allocations: 131.5 kB / 0.8199 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.46e-05/0.5088, allocations: 29.3 kB / 0.82 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.5088, allocations: 12.8 kB / 0.82 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.5088, allocations: 0 / 0.82 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.5089, allocations: 31.59 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.5089, allocations: 0 / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000161/0.509, allocations: 55.42 kB / 0.8201 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.509, allocations: 55.05 kB / 0.8201 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.329e-05/0.5091, allocations: 111.2 kB / 0.8202 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.5091, allocations: 25.7 kB / 0.8202 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.5092, allocations: 80.94 kB / 0.8203 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.5092, allocations: 10.89 kB / 0.8203 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.5092, allocations: 13.92 kB / 0.8203 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.5093, allocations: 316 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.5093, allocations: 4.812 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/0.5093, allocations: 11.52 kB / 0.8207 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.211e-05/0.5094, allocations: 17.62 kB / 0.8207 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5094, allocations: 8 kB / 0.8207 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.324e-05/0.5094, allocations: 48.25 kB / 0.8207 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.5094, allocations: 8.484 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.5094, allocations: 0 / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.5095, allocations: 2.719 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.049e-05/0.5095, allocations: 2.031 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.5095, allocations: 2.047 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.437e-05/0.5095, allocations: 5.781 kB / 0.8208 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.5095, allocations: 0.7812 kB / 0.8208 GB, free: 14.52 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 (1): * Single equations (assignments): 1 * 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.942e-05/0.5096, allocations: 113.4 kB / 0.8209 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-06/0.5096, allocations: 6.875 kB / 0.8209 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.063e-05/0.5096, allocations: 15.75 kB / 0.8209 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.5096, allocations: 0 / 0.8209 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5096, allocations: 0.7031 kB / 0.8209 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.5096, allocations: 2.719 kB / 0.8209 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.03e-05/0.5097, allocations: 118.2 kB / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.5097, allocations: 0 / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.524e-05/0.5097, allocations: 9.328 kB / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.5097, allocations: 3.938 kB / 0.821 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.5097, allocations: 4.516 kB / 0.821 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.5097, allocations: 0 / 0.821 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5097, allocations: 0 / 0.821 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.386e-05/0.5098, allocations: 78.95 kB / 0.8211 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-06/0.5098, allocations: 0.7969 kB / 0.8211 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.5098, allocations: 3.938 kB / 0.8211 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.108e-05/0.5098, allocations: 4.906 kB / 0.8211 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.5098, allocations: 4.594 kB / 0.8211 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.5098, allocations: 1.047 kB / 0.8211 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.842e-05/0.5099, allocations: 89 kB / 0.8212 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5099, allocations: 0 / 0.8212 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001167/0.51, allocations: 3.094 kB / 0.8212 GB, free: 14.05 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 (1): * Single equations (assignments): 1 * 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.0002598/0.5102, allocations: 0.6048 MB / 0.8218 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.923e-05/0.5103, allocations: 19.73 kB / 0.8218 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.5103, allocations: 3.938 kB / 0.8218 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.961e-05/0.5103, allocations: 10.11 kB / 0.8218 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.5104, allocations: 3.188 kB / 0.8218 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.5107, allocations: 130.6 kB / 0.8219 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.584e-05/0.5108, allocations: 60.7 kB / 0.822 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.122e-05/0.5108, allocations: 0 / 0.822 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.5108, allocations: 12.83 kB / 0.822 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.5108, allocations: 0 / 0.822 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.5253, allocations: 1.616 MB / 0.8236 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.43/6.956, allocations: 12.88 kB / 0.8236 GB, free: 12.39 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.928650519810617] Failed to read output from testmodel.py, exit status != 0: 7.030721272807568 7.043581554 6.533551292 Calling exit ...