Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.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.001758/0.001758, allocations: 108.4 kB / 17.07 MB, free: 5.793 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.002439/0.002439, allocations: 190.8 kB / 20.03 MB, free: 2.93 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.536/1.536, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.168/1.168, allocations: 147.6 MB / 445.6 MB, free: 8.281 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.Reals.Validation.Sin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 65.97 kB / 0.6109 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1666, allocations: 83.16 MB / 0.6922 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002017/0.1687, allocations: 0.6437 MB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1698, allocations: 0.8096 MB / 0.6936 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.1698, allocations: 0 / 0.6936 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.1699, allocations: 0 / 0.6936 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.17, allocations: 3.938 kB / 0.6936 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.1701, allocations: 10.81 kB / 0.6936 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.053e-05/0.1702, allocations: 32.23 kB / 0.6936 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/0.1703, allocations: 7.734 kB / 0.6936 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.807e-05/0.1704, allocations: 11.97 kB / 0.6936 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.1e-05/0.1704, allocations: 9.922 kB / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1704, allocations: 1.938 kB / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-06/0.1705, allocations: 3.594 kB / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.1705, allocations: 7.984 kB / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.1705, allocations: 9.969 kB / 0.6937 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.054e-05/0.1706, allocations: 21.5 kB / 0.6937 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1706, allocations: 0 / 0.6937 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1706, allocations: 0 / 0.6937 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.1706, allocations: 3.984 kB / 0.6937 GB, free: 12.13 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005694/0.1712, allocations: 331.5 kB / 0.694 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1713, allocations: 17.3 kB / 0.694 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.1713, allocations: 36.06 kB / 0.6941 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.1714, allocations: 5.922 kB / 0.6941 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.1715, allocations: 169.6 kB / 0.6942 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1715, allocations: 2.031 kB / 0.6942 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.1715, allocations: 384 / 0.6942 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1717, allocations: 50.48 kB / 0.6943 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1718, allocations: 7.938 kB / 0.6943 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1718, allocations: 0 / 0.6943 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.1718, allocations: 1.406 kB / 0.6943 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.172, allocations: 37.83 kB / 0.6943 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.1724, allocations: 244.4 kB / 0.6946 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1725, allocations: 43.12 kB / 0.6946 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.452e-05/0.1726, allocations: 26.7 kB / 0.6946 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.1726, allocations: 1.188 kB / 0.6946 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.1727, allocations: 31.62 kB / 0.6947 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1727, allocations: 0 / 0.6947 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003969/0.1731, allocations: 92.31 kB / 0.6947 GB, free: 11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.1732, allocations: 52.81 kB / 0.6948 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.46e-05/0.1733, allocations: 97.89 kB / 0.6949 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1733, allocations: 27.17 kB / 0.6949 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.1734, allocations: 84.12 kB / 0.695 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.1734, allocations: 5.391 kB / 0.695 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1734, allocations: 16.66 kB / 0.695 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1736, allocations: 315 kB / 0.6953 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.669e-05/0.1737, allocations: 14.58 kB / 0.6953 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/0.1738, allocations: 21.06 kB / 0.6954 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.174, allocations: 38.7 kB / 0.6954 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.174, allocations: 3.938 kB / 0.6954 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002122/0.1742, allocations: 73.44 kB / 0.6955 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1742, allocations: 5.5 kB / 0.6955 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1742, allocations: 1.531 kB / 0.6955 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1743, allocations: 0 / 0.6955 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.1744, allocations: 9.391 kB / 0.6955 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1744, allocations: 1.344 kB / 0.6955 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.1744, allocations: 3.781 kB / 0.6955 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1744, allocations: 3.938 kB / 0.6955 GB, free: 10.27 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001018/0.1745, allocations: 119.1 kB / 0.6956 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.1746, allocations: 5.266 kB / 0.6956 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.1748, allocations: 71.84 kB / 0.6957 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1748, allocations: 0 / 0.6957 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1749, allocations: 0 / 0.6957 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1749, allocations: 0 / 0.6957 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.1751, allocations: 166.3 kB / 0.6958 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1751, allocations: 4.031 kB / 0.6958 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.1751, allocations: 10.08 kB / 0.6958 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1751, allocations: 3.406 kB / 0.6959 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1752, allocations: 0 / 0.6959 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1752, allocations: 4 kB / 0.6959 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1752, allocations: 0 / 0.6959 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.1755, allocations: 171.5 kB / 0.696 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.1755, allocations: 77.3 kB / 0.6961 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1755, allocations: 0 / 0.6961 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.528e-05/0.1756, allocations: 11.55 kB / 0.6961 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.1757, allocations: 5.578 kB / 0.6961 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1757, allocations: 1.625 kB / 0.6961 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.1757, allocations: 81.33 kB / 0.6962 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1758, allocations: 0 / 0.6962 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002167/0.176, allocations: 4.125 kB / 0.6962 GB, free: 9.527 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006911/0.1767, allocations: 0.6942 MB / 0.6969 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.1769, allocations: 44.55 kB / 0.6969 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1769, allocations: 1.375 kB / 0.6969 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.174e-05/0.177, allocations: 18.98 kB / 0.6969 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.1774, allocations: 2.75 kB / 0.6969 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.178, allocations: 135 kB / 0.6971 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1784, allocations: 0.6769 MB / 0.6977 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.967e-05/0.1785, allocations: 5.5 kB / 0.6977 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.1785, allocations: 12.75 kB / 0.6977 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1785, allocations: 0 / 0.6977 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.2044, allocations: 1.258 MB / 0.699 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.056, allocations: 7.156 kB / 0.699 GB, free: 7.215 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.14833426498808] Failed to read output from testmodel.py, exit status != 0: 8.493751268135384 8.140007059 7.966186254 Calling exit ...