Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.000942/0.000942, 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.001138/0.001138, allocations: 217.7 kB / 22.25 MB, free: 3.707 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.014/1.014, 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.827/0.827, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.Line,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",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.0009447/0.0009447, allocations: 66.81 kB / 0.7183 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/0.5504, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001497/0.5519, allocations: 0.8938 MB / 0.8188 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007922/0.5527, allocations: 0.9201 MB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.5528, allocations: 1.844 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.5528, allocations: 17.69 kB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.982e-05/0.5529, allocations: 8.484 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.5531, allocations: 70.06 kB / 0.8198 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.5532, allocations: 141.7 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.5534, allocations: 49.61 kB / 0.82 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.5535, allocations: 58.03 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.5535, allocations: 60.7 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.5536, allocations: 14.28 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.5536, allocations: 12.59 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.5536, allocations: 29.73 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.5537, allocations: 61.75 kB / 0.8202 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.5538, allocations: 149.9 kB / 0.8203 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5538, allocations: 0.6094 kB / 0.8203 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5538, allocations: 0 / 0.8203 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5538, allocations: 0 / 0.8203 GB, free: 15.64 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004543/0.5543, allocations: 363.2 kB / 0.8207 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.5543, allocations: 8.453 kB / 0.8207 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.5544, allocations: 52.78 kB / 0.8207 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.5544, allocations: 14.67 kB / 0.8207 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.5546, allocations: 161 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.5546, allocations: 10.09 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.5546, allocations: 14.72 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.5549, allocations: 149.7 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5549, allocations: 3.938 kB / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.5549, allocations: 9.406 kB / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5549, allocations: 2.969 kB / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.5551, allocations: 125 kB / 0.8212 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.5557, allocations: 462.1 kB / 0.8216 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.5558, allocations: 86.16 kB / 0.8217 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.255e-05/0.5559, allocations: 39.81 kB / 0.8218 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.5559, allocations: 7.562 kB / 0.8218 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.556, allocations: 35.08 kB / 0.8218 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.556, allocations: 0 / 0.8218 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002908/0.5563, allocations: 161.8 kB / 0.822 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.5563, allocations: 54.22 kB / 0.822 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.5564, allocations: 191.8 kB / 0.8222 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.5565, allocations: 31.02 kB / 0.8222 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.5565, allocations: 114.8 kB / 0.8223 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.5566, allocations: 34.38 kB / 0.8224 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.5566, allocations: 28.05 kB / 0.8224 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5567, allocations: 327.7 kB / 0.8227 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-05/0.5568, allocations: 39.53 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.709e-05/0.5568, allocations: 42.75 kB / 0.8228 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.557, allocations: 90.45 kB / 0.8229 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.557, allocations: 3.938 kB / 0.8229 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002013/0.5572, allocations: 155.2 kB / 0.823 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5572, allocations: 5.219 kB / 0.823 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5572, allocations: 1.125 kB / 0.823 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5572, allocations: 0.9375 kB / 0.823 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.5573, allocations: 29 kB / 0.8231 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.5573, allocations: 1.094 kB / 0.8231 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.5574, allocations: 20.86 kB / 0.8231 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.5574, allocations: 7.609 kB / 0.8231 GB, free: 13.59 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 (13): * Single equations (assignments): 13 * 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.568e-05/0.5575, allocations: 126.8 kB / 0.8232 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.5575, allocations: 15.81 kB / 0.8232 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.5578, allocations: 140.6 kB / 0.8234 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.5578, allocations: 3.062 kB / 0.8234 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5578, allocations: 0 / 0.8234 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5578, allocations: 0.7969 kB / 0.8234 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.5581, allocations: 429.9 kB / 0.8238 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5581, allocations: 1.25 kB / 0.8238 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.5582, allocations: 20.89 kB / 0.8238 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5582, allocations: 2.188 kB / 0.8238 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.5582, allocations: 5.094 kB / 0.8238 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5582, allocations: 2.406 kB / 0.8238 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5582, allocations: 5.125 kB / 0.8238 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.5584, allocations: 251.9 kB / 0.824 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.5585, allocations: 15.78 kB / 0.8241 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.5585, allocations: 5.719 kB / 0.8241 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.5586, allocations: 19.06 kB / 0.8241 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.5586, allocations: 14.16 kB / 0.8241 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.5586, allocations: 4.625 kB / 0.8241 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001051/0.5587, allocations: 146.5 kB / 0.8242 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5587, allocations: 0 / 0.8242 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001753/0.5589, allocations: 23.02 kB / 0.8243 GB, free: 12.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0005634/0.5595, allocations: 0.7788 MB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.5597, allocations: 99.86 kB / 0.8251 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5597, allocations: 0 / 0.8251 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.5598, allocations: 45.94 kB / 0.8252 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.5601, allocations: 26.61 kB / 0.8252 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.562, allocations: 1.888 MB / 0.827 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.5622, allocations: 0.7117 MB / 0.8277 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.093e-05/0.5623, allocations: 12.73 kB / 0.8277 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.067e-05/0.5624, allocations: 43.19 kB / 0.8278 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.5624, allocations: 0 / 0.8278 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.5806, allocations: 2.976 MB / 0.8307 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/7.204, allocations: 5.156 kB / 0.8307 GB, free: 9.184 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Line.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.282913210103288] Failed to read output from testmodel.py, exit status != 0: 7.2929446920752525 7.305371563 6.749560653 Calling exit ...