Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.0007331/0.0007331, 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.0007637/0.0007637, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9134/0.9134, allocations: 177.1 MB / 202.8 MB, free: 5.719 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.7185/0.7185, allocations: 154.6 MB / 413.8 MB, free: 0.793 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.Validation.And,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.229e-05, allocations: 4.594 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001289/0.001311, allocations: 0.6361 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.002405, allocations: 1.209 MB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.002444, allocations: 3.938 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.002469, allocations: 3.938 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.002529, allocations: 15.88 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.002996, allocations: 217.3 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.003158, allocations: 175.7 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.998e-05/0.003238, allocations: 7.984 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.685e-05/0.003335, allocations: 95.86 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.003426, allocations: 51.91 kB / 0.6205 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.003449, allocations: 16 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.659e-05/0.003505, allocations: 23.94 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.003525, allocations: 19.92 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.00358, allocations: 43.95 kB / 0.6206 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.003755, allocations: 183.5 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.003758, allocations: 4 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.183e-06/0.003759, allocations: 0 / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003763, allocations: 0 / 0.6207 GB, free: 10.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003771/0.00414, allocations: 349.6 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.00418, allocations: 8.031 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.004209, allocations: 42.73 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.004248, allocations: 8.891 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.302e-05/0.004321, allocations: 113.7 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.004334, allocations: 12.38 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.004354, allocations: 8.375 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.163e-05/0.004446, allocations: 50.23 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.004453, allocations: 192 / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.004461, allocations: 384 / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.004465, allocations: 8.125 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.407e-05/0.004499, allocations: 15.98 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.004836, allocations: 295.8 kB / 0.6216 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.671e-05/0.004892, allocations: 26.58 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.004914, allocations: 20.94 kB / 0.6217 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.004922, allocations: 7.938 kB / 0.6217 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.005044, allocations: 79.31 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.005044, allocations: 3.938 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0001815/0.005226, allocations: 105.6 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.005257, allocations: 59.39 kB / 0.6219 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.361e-05/0.005321, allocations: 121.8 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.005341, allocations: 33.7 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.005383, allocations: 88.14 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.005395, allocations: 11.91 kB / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.00545, allocations: 45.69 kB / 0.6222 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.097e-05/0.005521, allocations: 326.8 kB / 0.6225 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.00563, allocations: 119.4 kB / 0.6226 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.005742, allocations: 159.6 kB / 0.6228 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.005863, allocations: 159.6 kB / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.005868, allocations: 7.938 kB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000279/0.006147, allocations: 320.3 kB / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.006184, allocations: 71.42 kB / 0.6233 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.00619, allocations: 4 kB / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.006201, allocations: 480 / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.568e-05/0.006217, allocations: 4 kB / 0.6233 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006222, allocations: 0 / 0.6233 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.006401, allocations: 51.88 kB / 0.6234 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.006423, allocations: 19.98 kB / 0.6234 GB, free: 7.961 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.129e-05/0.006494, allocations: 137.9 kB / 0.6235 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.006502, allocations: 11.94 kB / 0.6235 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/0.006524, allocations: 12.44 kB / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.006526, allocations: 0 / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.00653, allocations: 0 / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006533, allocations: 0 / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.098e-05/0.006614, allocations: 148.7 kB / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006615, allocations: 0 / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-06/0.00662, allocations: 7.984 kB / 0.6237 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.006621, allocations: 0 / 0.6237 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.006626, allocations: 4 kB / 0.6237 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.006627, allocations: 0 / 0.6237 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.006628, allocations: 0 / 0.6237 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.123e-05/0.006719, allocations: 117 kB / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.006726, allocations: 11.89 kB / 0.6238 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-06/0.006735, allocations: 0 / 0.6238 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.289e-05/0.006748, allocations: 7.984 kB / 0.6238 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.006777, allocations: 4 kB / 0.6238 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.006781, allocations: 4 kB / 0.6238 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.141e-05/0.006812, allocations: 91.27 kB / 0.6239 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006812, allocations: 0 / 0.6239 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001517/0.006964, allocations: 32 kB / 0.6239 GB, free: 7.312 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002868/0.007251, allocations: 0.6553 MB / 0.6246 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.007505, allocations: 274.1 kB / 0.6248 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007507, allocations: 0 / 0.6248 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/0.007537, allocations: 20.45 kB / 0.6249 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.007708, allocations: 22.48 kB / 0.6249 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.009073, allocations: 1.967 MB / 0.6268 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.776e-05/0.00911, allocations: 71.33 kB / 0.6269 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.165e-05/0.009132, allocations: 4 kB / 0.6269 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.009165, allocations: 20.48 kB / 0.6269 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.009165, allocations: 0 / 0.6269 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.02457, allocations: 3.75 MB / 0.6306 GB, free: 488 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.622/6.647, allocations: 8.062 kB / 0.6306 GB, free: 480 kB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_And.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.313548249192536] Failed to read output from testmodel.py, exit status != 0: 6.7287780763581395 6.735030427 6.729513946 Calling exit ...