Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.002082/0.002082, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002649/0.002649, allocations: 220.1 kB / 23.03 MB, free: 4.941 MB / 14.72 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.188/3.188, allocations: 0.5003 GB / 0.8062 GB, free: 28.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002007/0.002007, allocations: 71 kB / 1.17 GB, free: 19.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3864, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001992/0.3884, allocations: 0.645 MB / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.39, allocations: 1.214 MB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.3901, allocations: 0 / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.3901, allocations: 3.938 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.865e-05/0.3902, allocations: 11.88 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006552/0.3908, allocations: 216.5 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.3911, allocations: 179.7 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.96e-05/0.3912, allocations: 15.98 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3913, allocations: 59.97 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.3914, allocations: 63.78 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.3915, allocations: 16 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.883e-05/0.3915, allocations: 27.98 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.3916, allocations: 8 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.171e-05/0.3917, allocations: 59.81 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.3919, allocations: 151.8 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3919, allocations: 0 / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3919, allocations: 4 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3919, allocations: 7.938 kB / 1.348 GB, free: 13.3 MB / 1.045 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.0005699/0.3925, allocations: 361.5 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.3925, allocations: 12.03 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.787e-05/0.3925, allocations: 192 / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.3926, allocations: 30.75 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.3926, allocations: 12.89 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3928, allocations: 110.5 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3928, allocations: 4.375 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.3928, allocations: 12.36 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.3929, allocations: 57.94 kB / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3929, allocations: 4 kB / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.3929, allocations: 0 / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.3929, allocations: 0 / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.421e-05/0.393, allocations: 15.98 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.3935, allocations: 299.8 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.702e-05/0.3936, allocations: 34.5 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.3936, allocations: 12.86 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.3936, allocations: 3.984 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.3938, allocations: 87.41 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 7.725e-06/0.3938, allocations: 4 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002554/0.3941, allocations: 105.5 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.3941, allocations: 59.39 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3942, allocations: 113.8 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.3943, allocations: 33.7 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.3943, allocations: 92.09 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.3944, allocations: 11.94 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.3945, allocations: 49.69 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3946, allocations: 318.8 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.3948, allocations: 123.7 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.395, allocations: 151.7 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.3952, allocations: 171.6 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3952, allocations: 3.938 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004956/0.3957, allocations: 324.2 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.561e-05/0.3958, allocations: 67.39 kB / 1.35 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3958, allocations: 0 / 1.35 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3958, allocations: 4.125 kB / 1.35 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.143e-05/0.3958, allocations: 7.984 kB / 1.35 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.3959, allocations: 4 kB / 1.35 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.3962, allocations: 51.89 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.3962, allocations: 12 kB / 1.351 GB, free: 10.28 MB / 1.045 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,nand1.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 0.0001336/0.3964, allocations: 129.7 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.3964, allocations: 7.953 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.3964, allocations: 12.38 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3964, allocations: 3.938 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.3964, allocations: 4 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3964, allocations: 0 / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.3966, allocations: 144.7 kB / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3966, allocations: 0 / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-06/0.3966, allocations: 0 / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3966, allocations: 0 / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.3966, allocations: 0 / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3966, allocations: 4 kB / 1.351 GB, free: 9.926 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3966, allocations: 0 / 1.351 GB, free: 9.926 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.3967, allocations: 121.3 kB / 1.351 GB, free: 9.789 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.3968, allocations: 7.953 kB / 1.351 GB, free: 9.781 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.3968, allocations: 3.984 kB / 1.351 GB, free: 9.777 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.297e-05/0.3968, allocations: 4 kB / 1.351 GB, free: 9.773 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.3968, allocations: 4 kB / 1.351 GB, free: 9.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3968, allocations: 11.86 kB / 1.351 GB, free: 9.758 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.3969, allocations: 87.28 kB / 1.351 GB, free: 9.672 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3969, allocations: 0 / 1.351 GB, free: 9.672 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002481/0.3972, allocations: 39.92 kB / 1.351 GB, free: 9.633 MB / 1.045 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,nand1.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.0005157/0.3977, allocations: 0.6492 MB / 1.352 GB, free: 8.957 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.3981, allocations: 282.1 kB / 1.352 GB, free: 8.645 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3981, allocations: 0 / 1.352 GB, free: 8.645 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.3981, allocations: 23.94 kB / 1.352 GB, free: 8.621 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.3983, allocations: 11.98 kB / 1.352 GB, free: 8.609 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.4007, allocations: 1.974 MB / 1.354 GB, free: 6.465 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.915e-05/0.4007, allocations: 75.33 kB / 1.354 GB, free: 6.371 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.16e-05/0.4008, allocations: 7.781 kB / 1.354 GB, free: 6.363 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.4008, allocations: 19.42 kB / 1.354 GB, free: 6.344 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.4008, allocations: 0 / 1.354 GB, free: 6.344 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.4251, allocations: 3.247 MB / 1.357 GB, free: 3.277 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.99, allocations: 4 kB / 1.357 GB, free: 3.273 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.655872349976562] Failed to read output from testmodel.py, exit status != 0: 12.160557964933105 12.190310566 11.792868227 Calling exit ...