Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 105.9 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 190.8 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.115/1.115, allocations: 147.6 MB / 445.6 MB, free: 8.418 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2747/0.2747, allocations: 67.8 kB / 0.6109 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.418, allocations: 83.14 MB / 0.6921 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002041/0.42, allocations: 0.6451 MB / 0.6927 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.4219, allocations: 1.18 MB / 0.6939 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.422, allocations: 0 / 0.6939 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.843e-05/0.4221, allocations: 3.938 kB / 0.6939 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.027e-05/0.4222, allocations: 14.75 kB / 0.6939 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007854/0.423, allocations: 220.7 kB / 0.6941 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.4233, allocations: 183 kB / 0.6943 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.4234, allocations: 7.547 kB / 0.6943 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.4235, allocations: 75.47 kB / 0.6944 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.4237, allocations: 60.25 kB / 0.6944 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.4237, allocations: 15.25 kB / 0.6944 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.774e-05/0.4238, allocations: 33.55 kB / 0.6945 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.4238, allocations: 15.23 kB / 0.6945 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.095e-05/0.4239, allocations: 50.39 kB / 0.6945 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.4242, allocations: 152.8 kB / 0.6947 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4242, allocations: 1.375 kB / 0.6947 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4242, allocations: 0 / 0.6947 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.4242, allocations: 0 / 0.6947 GB, free: 11.57 MB / 0.5137 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.0006848/0.4249, allocations: 429.1 kB / 0.6951 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.4249, allocations: 9.625 kB / 0.6951 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.425, allocations: 40.11 kB / 0.6951 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.425, allocations: 11.77 kB / 0.6951 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.4252, allocations: 179 kB / 0.6953 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.4252, allocations: 8.5 kB / 0.6953 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.4252, allocations: 10 kB / 0.6953 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.4254, allocations: 47.86 kB / 0.6954 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4254, allocations: 3.938 kB / 0.6954 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.4254, allocations: 0 / 0.6954 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4254, allocations: 1.375 kB / 0.6954 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.18e-05/0.4254, allocations: 16.23 kB / 0.6954 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.426, allocations: 353.7 kB / 0.6957 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.927e-05/0.4261, allocations: 32.19 kB / 0.6958 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.4261, allocations: 15.73 kB / 0.6958 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.4261, allocations: 3.984 kB / 0.6958 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.4263, allocations: 84.02 kB / 0.6959 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.4263, allocations: 7.938 kB / 0.6959 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0002564/0.4265, allocations: 100.4 kB / 0.696 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.4266, allocations: 60.77 kB / 0.696 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.4267, allocations: 118.2 kB / 0.6961 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.4268, allocations: 33.81 kB / 0.6962 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.4268, allocations: 89.64 kB / 0.6963 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.4269, allocations: 10.66 kB / 0.6963 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.94e-05/0.427, allocations: 51.69 kB / 0.6963 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4271, allocations: 329.5 kB / 0.6966 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.4273, allocations: 58.22 kB / 0.6967 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.4274, allocations: 103.8 kB / 0.6968 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.4276, allocations: 156.4 kB / 0.6969 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4277, allocations: 0 / 0.6969 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004276/0.4281, allocations: 258.9 kB / 0.6972 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.4282, allocations: 68.67 kB / 0.6972 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4282, allocations: 1.125 kB / 0.6972 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4282, allocations: 2.688 kB / 0.6973 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.928e-05/0.4282, allocations: 1.562 kB / 0.6973 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4282, allocations: 5.625 kB / 0.6973 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.4286, allocations: 60.41 kB / 0.6973 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.4286, allocations: 12.52 kB / 0.6973 GB, free: 9.051 MB / 0.5137 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.000106/0.4287, allocations: 128.2 kB / 0.6975 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.4288, allocations: 10.62 kB / 0.6975 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.4288, allocations: 14.16 kB / 0.6975 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4288, allocations: 0 / 0.6975 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4288, allocations: 2.156 kB / 0.6975 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4288, allocations: 4 kB / 0.6975 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.429, allocations: 179.5 kB / 0.6977 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.429, allocations: 1.094 kB / 0.6977 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-06/0.429, allocations: 1.188 kB / 0.6977 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.429, allocations: 1.5 kB / 0.6977 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.429, allocations: 4 kB / 0.6977 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.429, allocations: 1.406 kB / 0.6977 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.429, allocations: 0 / 0.6977 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.4292, allocations: 115.8 kB / 0.6978 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.4293, allocations: 87.56 kB / 0.6979 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.4293, allocations: 0 / 0.6979 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.919e-05/0.4293, allocations: 1.156 kB / 0.6979 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.4294, allocations: 7.422 kB / 0.6979 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.4294, allocations: 3.094 kB / 0.6979 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.553e-05/0.4294, allocations: 90.33 kB / 0.698 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4294, allocations: 4 kB / 0.698 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002403/0.4297, allocations: 35.03 kB / 0.698 GB, free: 8.383 MB / 0.5137 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.0005246/0.4302, allocations: 0.6619 MB / 0.6986 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003547/0.4306, allocations: 245.2 kB / 0.6989 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4306, allocations: 4.25 kB / 0.6989 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.836e-05/0.4306, allocations: 24.22 kB / 0.6989 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.4309, allocations: 18.33 kB / 0.6989 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.4331, allocations: 1.71 MB / 0.7006 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.4334, allocations: 0.6881 MB / 0.7013 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.4335, allocations: 4 kB / 0.7013 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.4335, allocations: 23.42 kB / 0.7013 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.4335, allocations: 0 / 0.7013 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.4581, allocations: 2.873 MB / 0.7041 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.413, allocations: 5.812 kB / 0.7041 GB, free: 2.309 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.091267488896847] Failed to read output from testmodel.py, exit status != 0: 8.483275970909745 8.506781489 8.07840463 Calling exit ...