Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.001249/0.001249, 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.001246/0.001246, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.019/1.019, allocations: 230.6 MB / 256 MB, free: 9.82 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.7896/0.7896, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.Logical.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_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.001036/0.001036, allocations: 66.11 kB / 0.7183 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5483/0.5494, allocations: 102 MB / 0.8179 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001342/0.5507, allocations: 0.5397 MB / 0.8184 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.723e-05/0.5507, allocations: 0.6562 kB / 0.8184 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.5508, allocations: 0 / 0.8184 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.5508, allocations: 4 kB / 0.8184 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.04e-05/0.5508, allocations: 0 / 0.8184 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.485e-05/0.5509, allocations: 3.719 kB / 0.8184 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.343e-05/0.5509, allocations: 4.75 kB / 0.8184 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.551, allocations: 2.703 kB / 0.8184 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.88e-05/0.551, allocations: 0 / 0.8184 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.073e-05/0.551, allocations: 2.594 kB / 0.8184 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.551, allocations: 3.938 kB / 0.8184 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-06/0.551, allocations: 3.938 kB / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.5511, allocations: 0 / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.5511, allocations: 0 / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.755e-05/0.5511, allocations: 13.97 kB / 0.8184 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5512, allocations: 0 / 0.8184 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5512, allocations: 0 / 0.8184 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.5512, allocations: 0 / 0.8184 GB, free: 0.8789 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.0002176/0.5514, allocations: 243.4 kB / 0.8187 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5514, allocations: 9.625 kB / 0.8187 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.55e-05/0.5515, allocations: 30.75 kB / 0.8187 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.5515, allocations: 2.438 kB / 0.8187 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.532e-05/0.5516, allocations: 105.6 kB / 0.8188 GB, free: 464 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.5516, allocations: 4.375 kB / 0.8188 GB, free: 460 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.5516, allocations: 384 / 0.8188 GB, free: 460 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.015e-05/0.5517, allocations: 28.77 kB / 0.8189 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.5517, allocations: 3.938 kB / 0.8189 GB, free: 424 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.5517, allocations: 0 / 0.8189 GB, free: 424 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.5517, allocations: 1.781 kB / 0.8189 GB, free: 424 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.714e-05/0.5517, allocations: 9.203 kB / 0.8189 GB, free: 416 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.5519, allocations: 358.3 kB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.015e-05/0.552, allocations: 169.1 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.552, allocations: 80.8 kB / 0.8194 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.5521, allocations: 76.78 kB / 0.8195 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.5521, allocations: 110.5 kB / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5521, allocations: 0 / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.866e-05/0.5522, allocations: 32.39 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.5522, allocations: 126.7 kB / 0.8198 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.861e-05/0.5523, allocations: 99.64 kB / 0.8199 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.5523, allocations: 25.7 kB / 0.8199 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.5523, allocations: 80.7 kB / 0.82 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.5523, allocations: 0 / 0.82 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/0.5524, allocations: 16.75 kB / 0.82 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.5525, allocations: 315.6 kB / 0.8203 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-06/0.5525, allocations: 0 / 0.8203 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-06/0.5525, allocations: 0 / 0.8203 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.156e-05/0.5525, allocations: 80.91 kB / 0.8204 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.042e-05/0.5525, allocations: 79.22 kB / 0.8204 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.74e-05/0.5526, allocations: 37.86 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.5526, allocations: 82.84 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.5526, allocations: 75.28 kB / 0.8206 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.463e-05/0.5527, allocations: 162 kB / 0.8208 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.173e-05/0.5527, allocations: 75.28 kB / 0.8209 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.063e-05/0.5527, allocations: 156.9 kB / 0.821 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.5528, allocations: 76.03 kB / 0.8211 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.5528, allocations: 77.53 kB / 0.8212 GB, free: 13.97 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 9.108e-05/0.5529, allocations: 269.6 kB / 0.8214 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.5529, allocations: 107.5 kB / 0.8215 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.553, allocations: 110.9 kB / 0.8216 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.507e-05/0.553, allocations: 184.8 kB / 0.8218 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-05/0.5531, allocations: 177 kB / 0.822 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.721e-05/0.5531, allocations: 179.5 kB / 0.8221 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.5533, allocations: 389.7 kB / 0.8225 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-05/0.5533, allocations: 101.6 kB / 0.8226 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.5533, allocations: 105.6 kB / 0.8227 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.795e-05/0.5534, allocations: 177.7 kB / 0.8229 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.776e-05/0.5534, allocations: 192.5 kB / 0.8231 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.641e-05/0.5535, allocations: 185 kB / 0.8232 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.209e-05/0.5535, allocations: 176.9 kB / 0.8234 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.5536, allocations: 310.7 kB / 0.8237 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.5537, allocations: 107.4 kB / 0.8238 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.5537, allocations: 177.5 kB / 0.824 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.5538, allocations: 113.2 kB / 0.8241 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.5538, allocations: 181.2 kB / 0.8242 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.5539, allocations: 101.6 kB / 0.8243 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.232e-05/0.5539, allocations: 82.47 kB / 0.8244 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5539, allocations: 0 / 0.8244 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001656/0.5541, allocations: 0 / 0.8244 GB, free: 10.46 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.0003486/0.5544, allocations: 0.813 MB / 0.8252 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.962e-05/0.5545, allocations: 0.5625 kB / 0.8252 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5545, allocations: 0.9688 kB / 0.8252 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.31e-07/0.5545, allocations: 0 / 0.8252 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.5547, allocations: 463.1 kB / 0.8257 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007901/0.5555, allocations: 1.523 MB / 0.8271 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.5557, allocations: 0.6713 MB / 0.8278 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.496e-06/0.5557, allocations: 5.797 kB / 0.8278 GB, free: 6.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.5557, allocations: 7.438 kB / 0.8278 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5557, allocations: 0 / 0.8278 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.5716, allocations: 1.021 MB / 0.8288 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.416/6.988, allocations: 6.953 kB / 0.8288 GB, free: 6.5 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.027244813041762] Failed to read output from testmodel.py, exit status != 0: 7.066280176863074 7.076361991 6.52321999 Calling exit ...