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.001448/0.001448, allocations: 106.3 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.001532/0.001532, allocations: 190.8 kB / 20.03 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.485/1.485, allocations: 222.9 MB / 245.7 MB, free: 4.23 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.116/1.116, allocations: 147.6 MB / 445.6 MB, free: 8.379 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.2911/0.2911, allocations: 59.17 kB / 0.6109 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.4396, allocations: 83.16 MB / 0.6921 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002034/0.4417, allocations: 0.7596 MB / 0.6928 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.4428, allocations: 0.8639 MB / 0.6937 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.4428, allocations: 2.062 kB / 0.6937 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.4429, allocations: 3.938 kB / 0.6937 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.22e-05/0.443, allocations: 11.88 kB / 0.6937 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.4432, allocations: 43.88 kB / 0.6938 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.4433, allocations: 81.3 kB / 0.6938 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.4434, allocations: 30.91 kB / 0.6939 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.4435, allocations: 36.78 kB / 0.6939 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.634e-05/0.4436, allocations: 48.67 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.4436, allocations: 8.25 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.4437, allocations: 7.75 kB / 0.694 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.4437, allocations: 27.22 kB / 0.694 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.4438, allocations: 37.75 kB / 0.694 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.4439, allocations: 82.73 kB / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4439, allocations: 0 / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4439, allocations: 1.188 kB / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.4439, allocations: 0 / 0.6941 GB, free: 11.84 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.0006666/0.4446, allocations: 395.5 kB / 0.6945 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4446, allocations: 9 kB / 0.6945 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.4447, allocations: 40.55 kB / 0.6945 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.4447, allocations: 10.27 kB / 0.6945 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.4449, allocations: 183.8 kB / 0.6947 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4449, allocations: 7.938 kB / 0.6947 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.445, allocations: 11.69 kB / 0.6947 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.4453, allocations: 108.7 kB / 0.6948 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.4453, allocations: 0 / 0.6948 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.4453, allocations: 0 / 0.6948 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4453, allocations: 2.344 kB / 0.6948 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.4457, allocations: 100.4 kB / 0.6949 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.4463, allocations: 348.9 kB / 0.6953 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006397/0.4469, allocations: 118.9 kB / 0.6954 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.4471, allocations: 57.69 kB / 0.6954 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.4472, allocations: 1.375 kB / 0.6954 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.4472, allocations: 34.56 kB / 0.6955 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 2.996e-06/0.4472, allocations: 1.375 kB / 0.6955 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.000675/0.4479, allocations: 184 kB / 0.6956 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.4479, allocations: 55.41 kB / 0.6957 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.4481, allocations: 126.2 kB / 0.6958 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.4481, allocations: 29.7 kB / 0.6958 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.4482, allocations: 90.88 kB / 0.6959 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.4482, allocations: 22.55 kB / 0.6959 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.4483, allocations: 24.58 kB / 0.696 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4484, allocations: 320.2 kB / 0.6963 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.4486, allocations: 48.7 kB / 0.6963 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.4488, allocations: 44.7 kB / 0.6964 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.4491, allocations: 97.06 kB / 0.6965 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4492, allocations: 0 / 0.6965 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000429/0.4496, allocations: 141.5 kB / 0.6966 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4496, allocations: 9.156 kB / 0.6966 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4496, allocations: 80 / 0.6966 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4496, allocations: 9.547 kB / 0.6966 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.4498, allocations: 26.41 kB / 0.6966 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.4498, allocations: 9.141 kB / 0.6966 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.45, allocations: 15.7 kB / 0.6967 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.45, allocations: 5.266 kB / 0.6967 GB, free: 9.531 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 9.999e-05/0.4501, allocations: 117.9 kB / 0.6968 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.4501, allocations: 6.672 kB / 0.6968 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.4502, allocations: 10.56 kB / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4502, allocations: 0 / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4502, allocations: 5.156 kB / 0.6968 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4502, allocations: 0 / 0.6968 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.4504, allocations: 195.9 kB / 0.697 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4504, allocations: 0 / 0.697 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.4506, allocations: 32.69 kB / 0.697 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4506, allocations: 0 / 0.697 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.4506, allocations: 1.156 kB / 0.697 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4506, allocations: 1.156 kB / 0.697 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.916e-06/0.4507, allocations: 7.938 kB / 0.697 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005105/0.4512, allocations: 239.6 kB / 0.6973 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.4512, allocations: 82.44 kB / 0.6973 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.4513, allocations: 9.266 kB / 0.6973 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.4514, allocations: 11.67 kB / 0.6974 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.053e-05/0.4515, allocations: 22.61 kB / 0.6974 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.4515, allocations: 5.547 kB / 0.6974 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.612e-05/0.4516, allocations: 94.39 kB / 0.6975 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4516, allocations: 4 kB / 0.6975 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002308/0.4518, allocations: 19.16 kB / 0.6975 GB, free: 8.727 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.000835/0.4527, allocations: 0.764 MB / 0.6982 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.4531, allocations: 102.1 kB / 0.6983 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4531, allocations: 0 / 0.6983 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.4534, allocations: 62.72 kB / 0.6984 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.4537, allocations: 18.39 kB / 0.6984 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.4559, allocations: 1.532 MB / 0.6999 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.4563, allocations: 0.7006 MB / 0.7006 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.182e-05/0.4563, allocations: 8 kB / 0.7006 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.4564, allocations: 35.41 kB / 0.7006 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.4564, allocations: 0 / 0.7006 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.4804, allocations: 2.694 MB / 0.7033 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.444, allocations: 2.375 kB / 0.7033 GB, free: 3.188 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.16302957199514] Failed to read output from testmodel.py, exit status != 0: 8.508737921947613 8.523345391 8.076741712 Calling exit ...