Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.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.001658/0.001659, allocations: 114.7 kB / 17.07 MB, free: 6.082 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.001673/0.001673, allocations: 190.8 kB / 20.01 MB, free: 3.168 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.55/1.55, 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.16/1.16, allocations: 147.6 MB / 445.5 MB, free: 8.43 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.OnCounter,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2437/0.2437, allocations: 71.75 kB / 0.6109 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.3842, allocations: 83.15 MB / 0.6921 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001804/0.3861, allocations: 0.6565 MB / 0.6927 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3877, allocations: 1.192 MB / 0.6939 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.3878, allocations: 0 / 0.6939 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.3878, allocations: 5.25 kB / 0.6939 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.959e-05/0.3879, allocations: 13.36 kB / 0.6939 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006634/0.3886, allocations: 218.7 kB / 0.6941 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.3888, allocations: 192.4 kB / 0.6943 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.3889, allocations: 18.48 kB / 0.6943 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.389, allocations: 75.44 kB / 0.6944 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.3892, allocations: 60.34 kB / 0.6945 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.3892, allocations: 20.5 kB / 0.6945 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.3893, allocations: 33.97 kB / 0.6945 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.3893, allocations: 12.06 kB / 0.6945 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.617e-05/0.3894, allocations: 57.7 kB / 0.6946 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.3896, allocations: 151.6 kB / 0.6947 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3896, allocations: 3.938 kB / 0.6947 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3897, allocations: 0 / 0.6947 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.158e-06/0.3897, allocations: 0 / 0.6947 GB, free: 11.45 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.0006029/0.3903, allocations: 442.9 kB / 0.6951 GB, free: 11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3903, allocations: 9.062 kB / 0.6952 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.3904, allocations: 35.59 kB / 0.6952 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.3904, allocations: 9.188 kB / 0.6952 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.3906, allocations: 175.9 kB / 0.6954 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.3906, allocations: 8.688 kB / 0.6954 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.3906, allocations: 21.06 kB / 0.6954 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.3908, allocations: 48.14 kB / 0.6954 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3908, allocations: 0 / 0.6954 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3908, allocations: 1.719 kB / 0.6954 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3908, allocations: 0 / 0.6954 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.575e-05/0.3909, allocations: 14.48 kB / 0.6955 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.3914, allocations: 359.5 kB / 0.6958 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.3916, allocations: 39 kB / 0.6958 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.3916, allocations: 15.27 kB / 0.6959 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.3916, allocations: 0 / 0.6959 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.3918, allocations: 100.9 kB / 0.6959 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.3918, allocations: 3.938 kB / 0.696 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.000292/0.3921, allocations: 117.4 kB / 0.6961 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.3922, allocations: 57.91 kB / 0.6961 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3923, allocations: 123.8 kB / 0.6962 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.3923, allocations: 33.8 kB / 0.6963 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.3924, allocations: 93.17 kB / 0.6964 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.3924, allocations: 27.41 kB / 0.6964 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3925, allocations: 50.84 kB / 0.6964 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3927, allocations: 324.8 kB / 0.6967 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3929, allocations: 64.3 kB / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.393, allocations: 110.9 kB / 0.6969 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.3933, allocations: 184.8 kB / 0.6971 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3933, allocations: 5.312 kB / 0.6971 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004721/0.3938, allocations: 280.3 kB / 0.6974 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/0.3938, allocations: 69.17 kB / 0.6974 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3939, allocations: 5.375 kB / 0.6974 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3939, allocations: 2.75 kB / 0.6974 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.462e-05/0.3939, allocations: 8.062 kB / 0.6974 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.394, allocations: 10.67 kB / 0.6975 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.3943, allocations: 55.52 kB / 0.6975 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.3944, allocations: 18.92 kB / 0.6975 GB, free: 8.824 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.000119/0.3945, allocations: 132.7 kB / 0.6976 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.3945, allocations: 4.125 kB / 0.6977 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.3945, allocations: 13.73 kB / 0.6977 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3945, allocations: 1.375 kB / 0.6977 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3946, allocations: 0 / 0.6977 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3946, allocations: 0 / 0.6977 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.395, allocations: 358.8 kB / 0.698 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.395, allocations: 0 / 0.698 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.395, allocations: 9.312 kB / 0.698 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.395, allocations: 9.359 kB / 0.698 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.395, allocations: 1.375 kB / 0.698 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.395, allocations: 3.938 kB / 0.698 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.395, allocations: 0 / 0.698 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.3952, allocations: 192.8 kB / 0.6982 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.3953, allocations: 83.81 kB / 0.6983 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3953, allocations: 5.359 kB / 0.6983 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.461e-05/0.3954, allocations: 7.938 kB / 0.6983 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.3954, allocations: 8.219 kB / 0.6983 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.3954, allocations: 10.72 kB / 0.6983 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.473e-05/0.3955, allocations: 89.09 kB / 0.6984 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3955, allocations: 0 / 0.6984 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002839/0.3958, allocations: 40.8 kB / 0.6985 GB, free: 7.938 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: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005634/0.3964, allocations: 0.7393 MB / 0.6992 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003826/0.3968, allocations: 257.5 kB / 0.6994 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3968, allocations: 0 / 0.6994 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.157e-05/0.3968, allocations: 31.42 kB / 0.6994 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.3972, allocations: 20.83 kB / 0.6995 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.3994, allocations: 1.863 MB / 0.7013 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.3998, allocations: 0.6922 MB / 0.702 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.217e-05/0.3998, allocations: 4.672 kB / 0.702 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.3999, allocations: 23.42 kB / 0.702 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.3999, allocations: 3.938 kB / 0.702 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.4248, allocations: 3 MB / 0.7049 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.43, allocations: 0 / 0.7049 GB, free: 1.398 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.23917887499556] Failed to read output from testmodel.py, exit status != 0: 8.497644696151838 8.512112366 8.119749502 Calling exit ...