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.0008055/0.0008055, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.001051/0.001051, allocations: 162 kB / 22.43 MB, free: 2.145 MB / 18.57 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.9008/0.9008, allocations: 177.2 MB / 202.8 MB, free: 5.766 MB / 186.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.6901/0.6901, allocations: 155 MB / 414.2 MB, free: 464 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0009601/0.0009601, allocations: 72.91 kB / 0.6187 GB, free: 13.21 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4689, allocations: 102 MB / 0.7183 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001257/0.4702, allocations: 0.5401 MB / 0.7188 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 4.018e-05/0.4702, allocations: 0 / 0.7188 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.4702, allocations: 1.188 kB / 0.7188 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.4703, allocations: 7.875 kB / 0.7188 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.456e-05/0.4703, allocations: 0 / 0.7188 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.146e-05/0.4703, allocations: 0.9062 kB / 0.7188 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.192e-05/0.4704, allocations: 6.531 kB / 0.7188 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.057e-05/0.4704, allocations: 0.9375 kB / 0.7188 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.998e-05/0.4705, allocations: 9.797 kB / 0.7188 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.814e-05/0.4705, allocations: 0 / 0.7188 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.4705, allocations: 0.9375 kB / 0.7188 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-06/0.4705, allocations: 0 / 0.7188 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.4705, allocations: 1.156 kB / 0.7188 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.4705, allocations: 0.75 kB / 0.7188 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 5.883e-05/0.4706, allocations: 6.25 kB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4706, allocations: 1.062 kB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4706, allocations: 0 / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.4706, allocations: 4 kB / 0.7188 GB, free: 22.8 MB / 0.6355 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.0001987/0.4708, allocations: 241.4 kB / 0.7191 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4708, allocations: 11.03 kB / 0.7191 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.007e-05/0.4709, allocations: 30.75 kB / 0.7191 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.736e-05/0.4709, allocations: 2.656 kB / 0.7191 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.432e-05/0.4709, allocations: 104.4 kB / 0.7192 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.4709, allocations: 1.469 kB / 0.7192 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.4709, allocations: 384 / 0.7192 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.308e-05/0.471, allocations: 33.05 kB / 0.7192 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.471, allocations: 3.938 kB / 0.7192 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.471, allocations: 5.797 kB / 0.7192 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.471, allocations: 0 / 0.7192 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.281e-05/0.471, allocations: 0.9688 kB / 0.7192 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.4712, allocations: 350.7 kB / 0.7196 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.586e-05/0.4713, allocations: 178.9 kB / 0.7198 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.128e-05/0.4713, allocations: 81.17 kB / 0.7198 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.4713, allocations: 76.28 kB / 0.7199 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.4713, allocations: 111.7 kB / 0.72 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.4713, allocations: 0 / 0.72 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.333e-05/0.4714, allocations: 31.69 kB / 0.72 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.4714, allocations: 136.4 kB / 0.7202 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.959e-05/0.4714, allocations: 98.7 kB / 0.7203 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-06/0.4714, allocations: 25.7 kB / 0.7203 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.749e-06/0.4715, allocations: 81.23 kB / 0.7204 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.4715, allocations: 0 / 0.7204 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.4715, allocations: 11.84 kB / 0.7204 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.757e-05/0.4715, allocations: 316.7 kB / 0.7207 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.878e-06/0.4715, allocations: 0 / 0.7207 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-06/0.4715, allocations: 1.125 kB / 0.7207 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.566e-06/0.4715, allocations: 75.28 kB / 0.7208 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.4715, allocations: 85.39 kB / 0.7208 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.869e-05/0.4715, allocations: 32.98 kB / 0.7209 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.4716, allocations: 82.59 kB / 0.7209 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.4716, allocations: 81.39 kB / 0.721 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.4716, allocations: 156.9 kB / 0.7212 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-06/0.4716, allocations: 79.22 kB / 0.7212 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.4716, allocations: 152.9 kB / 0.7214 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.4717, allocations: 77.44 kB / 0.7215 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.4717, allocations: 80.83 kB / 0.7215 GB, free: 19.89 MB / 0.6355 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 3.854e-05/0.4717, allocations: 268.5 kB / 0.7218 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.4717, allocations: 111.4 kB / 0.7219 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.4717, allocations: 112.7 kB / 0.722 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.4717, allocations: 181.2 kB / 0.7222 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.4718, allocations: 178.4 kB / 0.7224 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.4718, allocations: 182.1 kB / 0.7225 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.482e-05/0.4719, allocations: 376.6 kB / 0.7229 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.4719, allocations: 106.9 kB / 0.723 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-06/0.4719, allocations: 106.7 kB / 0.7231 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.58e-05/0.4719, allocations: 182.1 kB / 0.7233 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.4719, allocations: 183 kB / 0.7234 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.625e-05/0.4719, allocations: 178.4 kB / 0.7236 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/0.4719, allocations: 190.5 kB / 0.7238 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.725e-05/0.472, allocations: 306.4 kB / 0.7241 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.472, allocations: 119.6 kB / 0.7242 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.472, allocations: 179.8 kB / 0.7244 GB, free: 16.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.851e-05/0.472, allocations: 107 kB / 0.7245 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.4721, allocations: 178 kB / 0.7246 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.4721, allocations: 107.1 kB / 0.7247 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.78e-05/0.4721, allocations: 77.31 kB / 0.7248 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4721, allocations: 0 / 0.7248 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001502/0.4722, allocations: 1.281 kB / 0.7248 GB, free: 16.4 MB / 0.6355 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.0001514/0.4724, allocations: 0.8103 MB / 0.7256 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.795e-05/0.4724, allocations: 1.969 kB / 0.7256 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4724, allocations: 0 / 0.7256 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.4724, allocations: 9.25 kB / 0.7256 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.4726, allocations: 455.2 kB / 0.7261 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.4731, allocations: 1.529 MB / 0.7275 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.549e-05/0.4731, allocations: 59.23 kB / 0.7276 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.203e-06/0.4731, allocations: 4.094 kB / 0.7276 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.4732, allocations: 8.5 kB / 0.7276 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of SimCode: time 6.52e-07/0.4732, allocations: 0 / 0.7276 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.4886, allocations: 1.534 MB / 0.7291 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.422/6.911, allocations: 8.969 kB / 0.7291 GB, free: 12.6 MB / 0.6355 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: 9.57400979893282] Failed to read output from testmodel.py, exit status != 0: 6.985862805973738 6.994653732 6.521728986 Calling exit ...