Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.0007482/0.0007482, 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.0008021/0.0008021, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9378/0.9378, 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.8007/0.8007, allocations: 203.8 MB / 0.5042 GB, free: 10.79 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.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.000925/0.000925, allocations: 70.45 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5288, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001281/0.5301, allocations: 0.5374 MB / 0.8184 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.536e-05/0.5301, allocations: 7.938 kB / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.5302, allocations: 3.312 kB / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.5302, allocations: 0 / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.725e-05/0.5302, allocations: 0 / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.06e-05/0.5303, allocations: 0.8906 kB / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.481e-05/0.5303, allocations: 0 / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.5304, allocations: 6.203 kB / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.77e-05/0.5304, allocations: 4 kB / 0.8184 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.986e-05/0.5304, allocations: 1.078 kB / 0.8184 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.5304, allocations: 0 / 0.8184 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.591e-06/0.5304, allocations: 3.938 kB / 0.8184 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.5304, allocations: 3.984 kB / 0.8184 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.5305, allocations: 3.875 kB / 0.8184 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.782e-05/0.5305, allocations: 5.266 kB / 0.8184 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5305, allocations: 0 / 0.8184 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5305, allocations: 0 / 0.8184 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.5305, allocations: 0 / 0.8184 GB, free: 0.9062 MB / 0.6042 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.0001953/0.5307, allocations: 243.9 kB / 0.8187 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.5308, allocations: 10.02 kB / 0.8187 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.056e-05/0.5308, allocations: 34.69 kB / 0.8187 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.764e-05/0.5308, allocations: 0.9375 kB / 0.8187 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.804e-05/0.5309, allocations: 108.8 kB / 0.8188 GB, free: 484 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.5309, allocations: 5.844 kB / 0.8188 GB, free: 480 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.5309, allocations: 384 / 0.8188 GB, free: 480 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.298e-05/0.5309, allocations: 30.86 kB / 0.8188 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.531, allocations: 3.938 kB / 0.8188 GB, free: 444 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.531, allocations: 4 kB / 0.8189 GB, free: 440 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.531, allocations: 0.75 kB / 0.8189 GB, free: 440 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.288e-05/0.531, allocations: 0 / 0.8189 GB, free: 440 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.5312, allocations: 358 kB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.63e-05/0.5313, allocations: 169.6 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.5313, allocations: 85.92 kB / 0.8194 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.5313, allocations: 76.45 kB / 0.8195 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.5314, allocations: 109.8 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.5314, allocations: 1.031 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.796e-05/0.5314, allocations: 32.67 kB / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.5315, allocations: 126.7 kB / 0.8198 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.5316, allocations: 97.64 kB / 0.8199 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.5316, allocations: 25.7 kB / 0.8199 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.5316, allocations: 84.52 kB / 0.82 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.5316, allocations: 0 / 0.82 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.5316, allocations: 9.719 kB / 0.82 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.5317, allocations: 316.1 kB / 0.8203 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-06/0.5317, allocations: 0 / 0.8203 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-06/0.5317, allocations: 0 / 0.8203 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.5318, allocations: 82.41 kB / 0.8204 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-05/0.5318, allocations: 79.22 kB / 0.8204 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.33e-05/0.5318, allocations: 34.52 kB / 0.8205 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.5319, allocations: 81.59 kB / 0.8205 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.5319, allocations: 80.16 kB / 0.8206 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.007e-05/0.5319, allocations: 155.5 kB / 0.8208 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.763e-05/0.532, allocations: 83.83 kB / 0.8208 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002491/0.5322, allocations: 160.9 kB / 0.821 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.5323, allocations: 79.97 kB / 0.8211 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.5323, allocations: 77.2 kB / 0.8212 GB, free: 13.98 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 (0): * Single equations (assignments): 0 * 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 8.325e-05/0.5324, allocations: 263.4 kB / 0.8214 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.5324, allocations: 105.6 kB / 0.8215 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.5324, allocations: 114.9 kB / 0.8216 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/0.5325, allocations: 180.9 kB / 0.8218 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.305e-05/0.5325, allocations: 183 kB / 0.822 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.365e-05/0.5326, allocations: 177.4 kB / 0.8221 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.5328, allocations: 376.8 kB / 0.8225 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.391e-05/0.5328, allocations: 105.6 kB / 0.8226 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.5328, allocations: 113.1 kB / 0.8227 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.446e-05/0.5329, allocations: 181.3 kB / 0.8229 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.5329, allocations: 184.2 kB / 0.823 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.691e-05/0.533, allocations: 184.8 kB / 0.8232 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.8e-05/0.533, allocations: 177 kB / 0.8234 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.5331, allocations: 313.7 kB / 0.8237 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.5332, allocations: 101.6 kB / 0.8238 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.5332, allocations: 182.7 kB / 0.824 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.08e-05/0.5333, allocations: 111.9 kB / 0.8241 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.5333, allocations: 177.1 kB / 0.8242 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.5333, allocations: 111.6 kB / 0.8243 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.623e-05/0.5334, allocations: 79.45 kB / 0.8244 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5334, allocations: 0 / 0.8244 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001566/0.5335, allocations: 0 / 0.8244 GB, free: 10.48 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 (0): * Single equations (assignments): 0 * 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.0003286/0.5339, allocations: 0.8089 MB / 0.8252 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.164e-05/0.5339, allocations: 3.938 kB / 0.8252 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5339, allocations: 0 / 0.8252 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.5339, allocations: 1.062 kB / 0.8252 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.5343, allocations: 458.5 kB / 0.8257 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.5351, allocations: 1.529 MB / 0.8271 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.5353, allocations: 0.6727 MB / 0.8278 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.432e-06/0.5353, allocations: 0 / 0.8278 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.5353, allocations: 7.438 kB / 0.8278 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of SimCode: time 1.223e-06/0.5353, allocations: 0 / 0.8278 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.552, allocations: 1.013 MB / 0.8288 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/7.322, allocations: 9.578 kB / 0.8288 GB, free: 6.523 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.145340088987723] Failed to read output from testmodel.py, exit status != 0: 7.393984170863405 7.408394863 6.875744777 Calling exit ...