Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0009354/0.0009354, 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.00111/0.00111, allocations: 217.7 kB / 22.26 MB, free: 3.699 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.9727/0.9727, 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.8112/0.8112, allocations: 203.5 MB / 0.5038 GB, free: 11.07 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.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_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.0009864/0.0009864, allocations: 75.44 kB / 0.7178 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5725/0.5735, allocations: 102 MB / 0.8174 GB, free: 1.484 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002164/0.5757, allocations: 0.6653 MB / 0.818 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.5768, allocations: 0.8553 MB / 0.8189 GB, free: 424 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.5769, allocations: 0 / 0.8189 GB, free: 424 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.5769, allocations: 5 kB / 0.8189 GB, free: 420 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.577, allocations: 0.9375 kB / 0.8189 GB, free: 420 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.5772, allocations: 17.48 kB / 0.8189 GB, free: 412 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.08e-05/0.5773, allocations: 23.19 kB / 0.8189 GB, free: 400 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.5774, allocations: 9.391 kB / 0.8189 GB, free: 392 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.604e-05/0.5775, allocations: 11.14 kB / 0.8189 GB, free: 388 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.5776, allocations: 12.62 kB / 0.819 GB, free: 380 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.5776, allocations: 2.344 kB / 0.819 GB, free: 380 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.632e-05/0.5776, allocations: 9.266 kB / 0.819 GB, free: 376 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.5776, allocations: 4.703 kB / 0.819 GB, free: 372 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.5777, allocations: 13.23 kB / 0.819 GB, free: 364 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.5778, allocations: 30.02 kB / 0.819 GB, free: 352 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5778, allocations: 0 / 0.819 GB, free: 352 kB / 0.6042 GB Notification: Performance of FrontEnd: time 5.029e-06/0.5778, allocations: 0.8438 kB / 0.819 GB, free: 352 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5778, allocations: 4 kB / 0.819 GB, free: 348 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.0004352/0.5783, allocations: 264.3 kB / 0.8193 GB, free: 76 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.5783, allocations: 9.75 kB / 0.8193 GB, free: 76 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.5784, allocations: 32.02 kB / 0.8193 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.5785, allocations: 0.9375 kB / 0.8193 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.5786, allocations: 110.2 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.5786, allocations: 2.875 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.5786, allocations: 4.375 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.5788, allocations: 53.64 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5788, allocations: 3.938 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.5789, allocations: 4 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5789, allocations: 5.188 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.579, allocations: 33.47 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.5794, allocations: 212.5 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.39e-05/0.5795, allocations: 48.2 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.5795, allocations: 21.56 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.5795, allocations: 0 / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.5795, allocations: 31.36 kB / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.5796, allocations: 0 / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002432/0.5798, allocations: 83.08 kB / 0.8199 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.5798, allocations: 54.62 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.5799, allocations: 100.4 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.5799, allocations: 25.7 kB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.58, allocations: 80.7 kB / 0.8201 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.58, allocations: 12.05 kB / 0.8202 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.58, allocations: 21.81 kB / 0.8202 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.5801, allocations: 316.6 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.49e-05/0.5802, allocations: 18.25 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.5802, allocations: 13.47 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.389e-05/0.5803, allocations: 41.17 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5803, allocations: 8 kB / 0.8206 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001269/0.5804, allocations: 68.81 kB / 0.8206 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5804, allocations: 4.625 kB / 0.8206 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5804, allocations: 0 / 0.8206 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5805, allocations: 2.078 kB / 0.8206 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.5805, allocations: 19.88 kB / 0.8206 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5805, allocations: 0.5625 kB / 0.8206 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.5806, allocations: 12.09 kB / 0.8207 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.5806, allocations: 4.031 kB / 0.8207 GB, free: 14.77 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 6.403e-05/0.5806, allocations: 113.4 kB / 0.8208 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.5807, allocations: 0 / 0.8208 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.5808, allocations: 74.3 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5808, allocations: 2.906 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5808, allocations: 0 / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5808, allocations: 1.031 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.5809, allocations: 135.1 kB / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.5809, allocations: 0 / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.581, allocations: 9.922 kB / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.581, allocations: 0.8438 kB / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.581, allocations: 0 / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.581, allocations: 3.938 kB / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.581, allocations: 0 / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.5811, allocations: 167.9 kB / 0.8211 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-06/0.5812, allocations: 8.688 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.5812, allocations: 1.125 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.5812, allocations: 6.047 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.5812, allocations: 3.031 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.5812, allocations: 0.9375 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.185e-05/0.5813, allocations: 84.22 kB / 0.8212 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5813, allocations: 0 / 0.8212 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001392/0.5814, allocations: 10.41 kB / 0.8213 GB, free: 14.21 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.0003806/0.5818, allocations: 0.6915 MB / 0.8219 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.5819, allocations: 40.22 kB / 0.822 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.5819, allocations: 0 / 0.822 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.298e-05/0.582, allocations: 16.19 kB / 0.822 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.5822, allocations: 9.172 kB / 0.822 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.5826, allocations: 136.4 kB / 0.8221 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.5828, allocations: 0.6794 MB / 0.8228 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.349e-05/0.5828, allocations: 1.906 kB / 0.8228 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.5828, allocations: 9.203 kB / 0.8228 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.5828, allocations: 0 / 0.8228 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.5993, allocations: 1.389 MB / 0.8242 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.634/7.233, allocations: 11.91 kB / 0.8242 GB, free: 12.24 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.199019604362547] Failed to read output from testmodel.py, exit status != 0: 7.308750460855663 7.320988162 6.740717338 Calling exit ...