Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.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.001897/0.001897, allocations: 107.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.002097/0.002097, allocations: 187.9 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.513/1.513, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.098/1.098, allocations: 147.6 MB / 445.5 MB, free: 8.582 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.Integers.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 63.91 kB / 0.6109 GB, free: 100 kB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4114, allocations: 83.16 MB / 0.6921 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00232/0.4138, allocations: 0.7612 MB / 0.6929 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.415, allocations: 0.8622 MB / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.4151, allocations: 0 / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.159e-05/0.4152, allocations: 13.38 kB / 0.6937 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.809e-05/0.4152, allocations: 7.875 kB / 0.6937 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.4154, allocations: 38.52 kB / 0.6937 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.4156, allocations: 86.25 kB / 0.6938 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.4157, allocations: 26.67 kB / 0.6939 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.4158, allocations: 41.47 kB / 0.6939 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.4159, allocations: 53.53 kB / 0.6939 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.416, allocations: 7.469 kB / 0.694 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.416, allocations: 8.188 kB / 0.694 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.142e-05/0.416, allocations: 17.7 kB / 0.694 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.4161, allocations: 38.31 kB / 0.694 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.4163, allocations: 87.19 kB / 0.6941 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4163, allocations: 0 / 0.6941 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4163, allocations: 0 / 0.6941 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.4163, allocations: 1.125 kB / 0.6941 GB, free: 11.87 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007511/0.4171, allocations: 394.6 kB / 0.6945 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4171, allocations: 9.625 kB / 0.6945 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.4172, allocations: 41.48 kB / 0.6945 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.4172, allocations: 8.953 kB / 0.6945 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.4174, allocations: 172.3 kB / 0.6947 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.4175, allocations: 7.062 kB / 0.6947 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.4175, allocations: 8.125 kB / 0.6947 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.4178, allocations: 116.7 kB / 0.6948 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4179, allocations: 1.312 kB / 0.6948 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.4179, allocations: 7.938 kB / 0.6948 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4179, allocations: 1.125 kB / 0.6948 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.4183, allocations: 96.17 kB / 0.6949 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.419, allocations: 354.9 kB / 0.6953 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/0.4197, allocations: 118.1 kB / 0.6954 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.4199, allocations: 57.19 kB / 0.6954 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.4199, allocations: 5.344 kB / 0.6954 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.42, allocations: 31.81 kB / 0.6955 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.42, allocations: 0 / 0.6955 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0007219/0.4207, allocations: 179.9 kB / 0.6956 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.4208, allocations: 61.44 kB / 0.6957 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.4209, allocations: 125 kB / 0.6958 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.4209, allocations: 25.7 kB / 0.6958 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.421, allocations: 92.06 kB / 0.6959 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.421, allocations: 25.75 kB / 0.696 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.4211, allocations: 23.58 kB / 0.696 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4212, allocations: 320.6 kB / 0.6963 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.4214, allocations: 47.92 kB / 0.6963 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.4216, allocations: 44.48 kB / 0.6964 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.422, allocations: 98.42 kB / 0.6965 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.422, allocations: 1.188 kB / 0.6965 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004233/0.4224, allocations: 144 kB / 0.6966 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4225, allocations: 8.062 kB / 0.6966 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4225, allocations: 1.656 kB / 0.6966 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4225, allocations: 0 / 0.6966 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.4227, allocations: 23.59 kB / 0.6966 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.4227, allocations: 5.25 kB / 0.6966 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.4228, allocations: 18.73 kB / 0.6967 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.4228, allocations: 2.75 kB / 0.6967 GB, free: 9.574 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001103/0.4229, allocations: 122 kB / 0.6968 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.423, allocations: 8.078 kB / 0.6968 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.83e-05/0.4231, allocations: 13.75 kB / 0.6968 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4231, allocations: 0 / 0.6968 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4231, allocations: 5.312 kB / 0.6968 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4231, allocations: 0 / 0.6968 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.4234, allocations: 199.5 kB / 0.697 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4234, allocations: 4 kB / 0.697 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.4236, allocations: 28.41 kB / 0.697 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4236, allocations: 1.375 kB / 0.697 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.4236, allocations: 0 / 0.697 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4236, allocations: 1.375 kB / 0.697 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4236, allocations: 3.938 kB / 0.697 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.4241, allocations: 231.9 kB / 0.6972 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.4242, allocations: 86.44 kB / 0.6973 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.4242, allocations: 5.359 kB / 0.6973 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.4244, allocations: 10.86 kB / 0.6973 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.4244, allocations: 22.8 kB / 0.6974 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.4245, allocations: 6.734 kB / 0.6974 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.234e-05/0.4245, allocations: 92.89 kB / 0.6975 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4246, allocations: 7.938 kB / 0.6975 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002312/0.4248, allocations: 20.31 kB / 0.6975 GB, free: 8.766 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: 3 (sub.y,reaToInt.y,reaToInt1.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): 7 * 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.0008745/0.4257, allocations: 0.7668 MB / 0.6982 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004445/0.4261, allocations: 101.6 kB / 0.6983 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4261, allocations: 0 / 0.6983 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.4264, allocations: 63.69 kB / 0.6984 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.4267, allocations: 17.62 kB / 0.6984 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.4291, allocations: 1.529 MB / 0.6999 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.4295, allocations: 0.7016 MB / 0.7006 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.596e-05/0.4296, allocations: 14.02 kB / 0.7006 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.908e-05/0.4297, allocations: 33.66 kB / 0.7006 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.4297, allocations: 3.938 kB / 0.7006 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.4551, allocations: 2.682 MB / 0.7033 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.569, allocations: 8.047 kB / 0.7033 GB, free: 3.277 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.130981130991131] Failed to read output from testmodel.py, exit status != 0: 8.636231400072575 8.649796346 8.230821528 Calling exit ...