Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.0007995/0.0007995, 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.0009844/0.0009844, allocations: 221.7 kB / 22.26 MB, free: 3.688 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 1.012/1.012, allocations: 230.6 MB / 256 MB, free: 9.812 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.8279/0.8279, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",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.0009369/0.0009369, allocations: 64.83 kB / 0.7183 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5467/0.5477, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001481/0.5492, allocations: 0.6965 MB / 0.8186 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006759/0.5498, allocations: 0.843 MB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.5499, allocations: 1.656 kB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.5499, allocations: 3.938 kB / 0.8194 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.48e-05/0.55, allocations: 10.91 kB / 0.8194 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.837e-05/0.55, allocations: 9.031 kB / 0.8194 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.886e-05/0.5501, allocations: 47.62 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.5502, allocations: 5.656 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.168e-05/0.5503, allocations: 20.61 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.143e-05/0.5503, allocations: 25.59 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.5503, allocations: 3.969 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-06/0.5503, allocations: 8.406 kB / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.5504, allocations: 5.641 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.5504, allocations: 19.31 kB / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.253e-05/0.5505, allocations: 41.72 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5505, allocations: 1.312 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.975e-06/0.5505, allocations: 0.9844 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.5505, allocations: 0 / 0.8196 GB, free: 60 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.0003992/0.5509, allocations: 290.6 kB / 0.8199 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5509, allocations: 13 kB / 0.8199 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.551, allocations: 32.78 kB / 0.8199 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.551, allocations: 6.609 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.458e-05/0.5511, allocations: 107.7 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.5511, allocations: 9.438 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.5511, allocations: 4.031 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.5513, allocations: 66.91 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.5513, allocations: 3.938 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.5513, allocations: 7.938 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.5513, allocations: 1.375 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.5514, allocations: 62.36 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.5518, allocations: 236.7 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.5519, allocations: 63.22 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.488e-05/0.552, allocations: 38.78 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.552, allocations: 3.219 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.552, allocations: 35.22 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.552, allocations: 0 / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003088/0.5523, allocations: 130.1 kB / 0.8207 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.5524, allocations: 54.58 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.5524, allocations: 111.2 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.5524, allocations: 25.7 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.5525, allocations: 90.03 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.5525, allocations: 16.38 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.5525, allocations: 16.02 kB / 0.821 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.609e-05/0.5526, allocations: 312.5 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.092e-05/0.5527, allocations: 33.12 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.5528, allocations: 30.38 kB / 0.8213 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.5529, allocations: 78.58 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5529, allocations: 0 / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000169/0.5531, allocations: 98.81 kB / 0.8215 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5531, allocations: 6.844 kB / 0.8215 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5531, allocations: 4 kB / 0.8215 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5531, allocations: 7.562 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.5532, allocations: 13.03 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5532, allocations: 4 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/0.5532, allocations: 12.34 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.5532, allocations: 0.9688 kB / 0.8215 GB, free: 14.43 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 6.023e-05/0.5533, allocations: 117.5 kB / 0.8217 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.5533, allocations: 10.83 kB / 0.8217 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.5533, allocations: 9.312 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5533, allocations: 0 / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5533, allocations: 0 / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.5533, allocations: 4.203 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.5535, allocations: 142.8 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5535, allocations: 4.594 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.5535, allocations: 16.12 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.5535, allocations: 0 / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.5535, allocations: 0.7031 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5535, allocations: 5.25 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5535, allocations: 0 / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.5537, allocations: 194.6 kB / 0.822 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.5538, allocations: 9.703 kB / 0.822 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.5538, allocations: 2.969 kB / 0.822 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.907e-05/0.5538, allocations: 12.95 kB / 0.822 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.5539, allocations: 5.016 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.5539, allocations: 0.9062 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.5539, allocations: 87.25 kB / 0.8221 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5539, allocations: 1.594 kB / 0.8221 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001399/0.554, allocations: 5.188 kB / 0.8221 GB, free: 13.88 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.0004057/0.5544, allocations: 0.729 MB / 0.8229 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.5546, allocations: 70.58 kB / 0.8229 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5546, allocations: 0 / 0.8229 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.695e-05/0.5547, allocations: 37.12 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.555, allocations: 8.703 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.5553, allocations: 166.4 kB / 0.8231 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.5556, allocations: 0.6853 MB / 0.8238 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.545e-05/0.5556, allocations: 1.094 kB / 0.8238 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.5557, allocations: 14.38 kB / 0.8238 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of SimCode: time 7.32e-07/0.5557, allocations: 3.938 kB / 0.8238 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.5713, allocations: 1.729 MB / 0.8255 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.445/7.016, allocations: 6.641 kB / 0.8255 GB, free: 11.86 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.144601329928264] Failed to read output from testmodel.py, exit status != 0: 7.093262341804802 7.103263896 6.550737321 Calling exit ...