Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007638/0.0007638, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000775/0.000775, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8633/0.8633, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6963/0.6963, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.427e-06/3.427e-06, allocations: 4 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.391e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00118/0.001204, allocations: 0.5406 MB / 0.6186 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 3.686e-05/0.001241, allocations: 3.938 kB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.001263, allocations: 0 / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.001288, allocations: 0 / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.508e-05/0.001313, allocations: 0 / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.897e-05/0.001342, allocations: 4 kB / 0.6187 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.414e-05/0.001397, allocations: 4 kB / 0.6187 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.001443, allocations: 7.984 kB / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.761e-05/0.001471, allocations: 0 / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.772e-05/0.001488, allocations: 0 / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.001511, allocations: 0 / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.98e-06/0.001516, allocations: 4 kB / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.001528, allocations: 3.938 kB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.001544, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.863e-05/0.001603, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.001605, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.112e-06/0.001606, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.001609, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 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.0002157/0.001825, allocations: 238.5 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.001863, allocations: 16.03 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.729e-05/0.00189, allocations: 30.75 kB / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.514e-05/0.001906, allocations: 0.9375 kB / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.572e-05/0.001971, allocations: 105.7 kB / 0.619 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.001979, allocations: 384 / 0.619 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-06/0.001985, allocations: 4.375 kB / 0.619 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.723e-05/0.002052, allocations: 30.27 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.002058, allocations: 192 / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.002065, allocations: 384 / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.00207, allocations: 4.125 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.416e-05/0.002084, allocations: 8 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.002321, allocations: 350.5 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.142e-05/0.002383, allocations: 169.1 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.002409, allocations: 84.17 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.00243, allocations: 75.28 kB / 0.6197 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.00247, allocations: 109.8 kB / 0.6198 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.002471, allocations: 3.984 kB / 0.6198 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.361e-05/0.002525, allocations: 33.62 kB / 0.6199 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.002567, allocations: 130.7 kB / 0.62 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.002626, allocations: 101.9 kB / 0.6201 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.002635, allocations: 25.7 kB / 0.6201 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.002656, allocations: 84.12 kB / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.002657, allocations: 3.938 kB / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.002673, allocations: 13.66 kB / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.259e-05/0.002746, allocations: 310.8 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-06/0.00275, allocations: 4 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.995e-06/0.002753, allocations: 0 / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.092e-05/0.002774, allocations: 79.27 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.002789, allocations: 75.28 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.372e-05/0.002823, allocations: 41.58 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.002849, allocations: 83.41 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.002868, allocations: 75.28 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.189e-05/0.002909, allocations: 154.6 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.642e-05/0.002926, allocations: 79.22 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-05/0.002956, allocations: 150.6 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.002999, allocations: 83.22 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.003016, allocations: 79.27 kB / 0.6214 GB, free: 10.12 MB / 0.5886 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 7.734e-05/0.003094, allocations: 265.3 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.003129, allocations: 112.9 kB / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.003164, allocations: 112.1 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-05/0.003204, allocations: 184.5 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.125e-05/0.003245, allocations: 188.2 kB / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.964e-05/0.003285, allocations: 180.3 kB / 0.6224 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.003451, allocations: 372.3 kB / 0.6227 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/0.003475, allocations: 108.9 kB / 0.6228 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.003497, allocations: 101 kB / 0.6229 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-05/0.003539, allocations: 188.1 kB / 0.6231 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.00358, allocations: 180.3 kB / 0.6233 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.012e-05/0.00362, allocations: 176.3 kB / 0.6235 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.233e-05/0.003662, allocations: 184.2 kB / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.56e-05/0.003748, allocations: 303.8 kB / 0.6239 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.003779, allocations: 112.9 kB / 0.624 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.003822, allocations: 180.3 kB / 0.6242 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.348e-05/0.003865, allocations: 112.9 kB / 0.6243 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.003906, allocations: 176.3 kB / 0.6245 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.003928, allocations: 108.9 kB / 0.6246 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.578e-05/0.003954, allocations: 75.28 kB / 0.6246 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003954, allocations: 0 / 0.6246 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001574/0.004112, allocations: 4 kB / 0.6247 GB, free: 6.566 MB / 0.5886 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.0002582/0.00437, allocations: 0.8087 MB / 0.6254 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 3.963e-05/0.00441, allocations: 7.938 kB / 0.6254 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.004411, allocations: 0 / 0.6254 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.82e-07/0.004412, allocations: 0 / 0.6254 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.004655, allocations: 459.6 kB / 0.6259 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007212/0.005376, allocations: 1.521 MB / 0.6274 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.001e-05/0.005416, allocations: 51.36 kB / 0.6274 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.065e-06/0.005424, allocations: 4 kB / 0.6274 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.005449, allocations: 12.48 kB / 0.6274 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of SimCode: time 7.82e-07/0.005449, allocations: 4.094 kB / 0.6274 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.02235, allocations: 1.545 MB / 0.6289 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.579/6.602, allocations: 6.641 kB / 0.629 GB, free: 2.16 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.147457596845925] Failed to read output from testmodel.py, exit status != 0: 6.680601118132472 6.689851973 6.686593106 Calling exit ...