Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.0009049/0.0009049, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009591/0.0009591, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9439/0.9439, allocations: 230.6 MB / 256 MB, free: 9.594 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.8029/0.8029, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.Exp,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp",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.001464/0.001464, allocations: 65.52 kB / 0.7182 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5473/0.5488, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.0017/0.5505, allocations: 0.6624 MB / 0.8185 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.5515, allocations: 0.8311 MB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.5516, allocations: 0 / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.5516, allocations: 3.938 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.501e-05/0.5517, allocations: 7.938 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.552, allocations: 10.11 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.5521, allocations: 26.67 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.5522, allocations: 1.219 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.789e-05/0.5523, allocations: 12.97 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.5524, allocations: 11.03 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.5524, allocations: 1.969 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.239e-05/0.5524, allocations: 7.828 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.5525, allocations: 8.484 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.5525, allocations: 7.75 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.5526, allocations: 32.19 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.5526, allocations: 0 / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.015e-06/0.5526, allocations: 0 / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.5527, allocations: 3.938 kB / 0.8194 GB, free: 15.92 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.000534/0.5532, allocations: 262.5 kB / 0.8197 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.5532, allocations: 9.844 kB / 0.8197 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.5533, allocations: 37.16 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.5534, allocations: 4.406 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.5535, allocations: 111.3 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.5535, allocations: 4.312 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.5535, allocations: 4.375 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.5537, allocations: 52.98 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.5537, allocations: 3.938 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.5538, allocations: 0.75 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.5538, allocations: 1.031 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.5539, allocations: 33.84 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.5543, allocations: 209.7 kB / 0.8201 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.5544, allocations: 47.89 kB / 0.8202 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.5544, allocations: 20.33 kB / 0.8202 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.5545, allocations: 0 / 0.8202 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.5545, allocations: 40.45 kB / 0.8202 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.5545, allocations: 1.094 kB / 0.8202 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000307/0.5548, allocations: 76.89 kB / 0.8203 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.5549, allocations: 59.47 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.344e-05/0.5549, allocations: 103.4 kB / 0.8205 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.555, allocations: 25.7 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.555, allocations: 84.66 kB / 0.8206 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.555, allocations: 4.562 kB / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.555, allocations: 14.33 kB / 0.8206 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.5551, allocations: 312.3 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.463e-05/0.5552, allocations: 19.78 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/0.5552, allocations: 13.16 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.323e-05/0.5553, allocations: 46.28 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.5553, allocations: 3.938 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001215/0.5555, allocations: 69.73 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5555, allocations: 6.922 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5555, allocations: 0 / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5555, allocations: 0 / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/0.5556, allocations: 14.25 kB / 0.821 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5556, allocations: 0 / 0.821 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.566e-05/0.5556, allocations: 7.094 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.5556, allocations: 0 / 0.8211 GB, free: 14.37 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.731e-05/0.5557, allocations: 114 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.5557, allocations: 0.75 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.5558, allocations: 74.91 kB / 0.8212 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5558, allocations: 7.969 kB / 0.8212 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.5559, allocations: 2.203 kB / 0.8212 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5559, allocations: 0 / 0.8212 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.556, allocations: 138.5 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.556, allocations: 4.656 kB / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.556, allocations: 10.91 kB / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.556, allocations: 0.7969 kB / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.556, allocations: 1.875 kB / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.556, allocations: 0 / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.556, allocations: 0 / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.5562, allocations: 170.4 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.5562, allocations: 12.28 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.5562, allocations: 0 / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.5562, allocations: 4.625 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.5563, allocations: 4.062 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.5563, allocations: 0 / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.5563, allocations: 83.34 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5563, allocations: 0 / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001387/0.5564, allocations: 3.5 kB / 0.8217 GB, free: 13.8 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.0003512/0.5568, allocations: 0.6998 MB / 0.8223 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.5569, allocations: 32.34 kB / 0.8224 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5569, allocations: 0 / 0.8224 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.803e-05/0.557, allocations: 24.39 kB / 0.8224 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.0002356/0.5572, allocations: 9.844 kB / 0.8224 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.5576, allocations: 128.3 kB / 0.8225 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.94e-05/0.5576, allocations: 61.02 kB / 0.8226 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.5577, allocations: 0 / 0.8226 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.5577, allocations: 13.67 kB / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.5577, allocations: 0 / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.5802, allocations: 1.804 MB / 0.8244 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/7.23, allocations: 6.062 kB / 0.8244 GB, free: 12.03 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.136515462305397] Failed to read output from testmodel.py, exit status != 0: 7.312469485681504 7.324561299 6.7697340089999996 Calling exit ...