Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001233/0.001233, allocations: 103.9 kB / 16.45 MB, free: 6.445 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.001186/0.001186, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.347/1.347, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7986/0.7986, allocations: 133.9 MB / 436.6 MB, free: 13.79 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.91 kB / 0.6051 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3392, allocations: 84.66 MB / 0.6878 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002572/0.3418, allocations: 1.872 MB / 0.6896 GB, free: 360 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002019/0.3438, allocations: 1.584 MB / 0.6912 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.3439, allocations: 6.312 kB / 0.6912 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.3441, allocations: 27.42 kB / 0.6912 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.3443, allocations: 73.7 kB / 0.6913 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.3447, allocations: 174.8 kB / 0.6915 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.345, allocations: 276.9 kB / 0.6917 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.3451, allocations: 22.86 kB / 0.6917 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3452, allocations: 91.78 kB / 0.6918 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.3455, allocations: 108.8 kB / 0.6919 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.3455, allocations: 19.28 kB / 0.692 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.3456, allocations: 95.83 kB / 0.692 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.269e-05/0.3457, allocations: 87.8 kB / 0.6921 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.3459, allocations: 118.1 kB / 0.6922 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.3462, allocations: 321.8 kB / 0.6925 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3462, allocations: 0.9375 kB / 0.6925 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3462, allocations: 0 / 0.6925 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.3463, allocations: 0 / 0.6925 GB, free: 14.23 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000754/0.347, allocations: 0.5681 MB / 0.6931 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.347, allocations: 13.67 kB / 0.6931 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.833e-05/0.3471, allocations: 53.48 kB / 0.6932 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.3472, allocations: 33.09 kB / 0.6932 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.3475, allocations: 273.7 kB / 0.6935 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3476, allocations: 11.59 kB / 0.6935 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.3476, allocations: 26.69 kB / 0.6935 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.348, allocations: 230.8 kB / 0.6937 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.348, allocations: 0 / 0.6937 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.348, allocations: 6.125 kB / 0.6937 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.348, allocations: 5 kB / 0.6937 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008726/0.3489, allocations: 0.7504 MB / 0.6945 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.3499, allocations: 0.621 MB / 0.6951 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.3504, allocations: 295 kB / 0.6953 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.3505, allocations: 100.1 kB / 0.6954 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.3506, allocations: 21.77 kB / 0.6955 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003481/0.3509, allocations: 184.4 kB / 0.6956 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.3509, allocations: 0 / 0.6956 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.0006562/0.3516, allocations: 386.6 kB / 0.696 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/0.3517, allocations: 136.5 kB / 0.6961 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.352, allocations: 309.9 kB / 0.6964 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.352, allocations: 36.39 kB / 0.6965 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.3521, allocations: 130.4 kB / 0.6966 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.3522, allocations: 118.1 kB / 0.6967 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.043e-05/0.3523, allocations: 66.66 kB / 0.6968 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3524, allocations: 338 kB / 0.6971 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3526, allocations: 83.89 kB / 0.6972 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.3527, allocations: 125.2 kB / 0.6973 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.3531, allocations: 216.8 kB / 0.6975 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3531, allocations: 1.344 kB / 0.6975 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004327/0.3535, allocations: 289 kB / 0.6978 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.3535, allocations: 5.562 kB / 0.6978 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3535, allocations: 0 / 0.6978 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3535, allocations: 7 kB / 0.6978 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.3537, allocations: 67.38 kB / 0.6979 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3537, allocations: 1.438 kB / 0.6979 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.3539, allocations: 28.56 kB / 0.6979 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.3539, allocations: 13.11 kB / 0.6979 GB, free: 10.36 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001592/0.3541, allocations: 162.8 kB / 0.698 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.3541, allocations: 29.5 kB / 0.6981 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006635/0.3548, allocations: 386 kB / 0.6984 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3548, allocations: 3.5 kB / 0.6984 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3548, allocations: 5.281 kB / 0.6985 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3548, allocations: 4.031 kB / 0.6985 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.3551, allocations: 352 kB / 0.6988 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3551, allocations: 0 / 0.6988 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.3553, allocations: 62.94 kB / 0.6989 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3553, allocations: 1.562 kB / 0.6989 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.3553, allocations: 15.61 kB / 0.6989 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3553, allocations: 1.719 kB / 0.6989 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3553, allocations: 0 / 0.6989 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.3558, allocations: 323.3 kB / 0.6992 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.356, allocations: 154.9 kB / 0.6993 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.356, allocations: 10.59 kB / 0.6993 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.3562, allocations: 19.05 kB / 0.6994 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.3562, allocations: 29.45 kB / 0.6994 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.3562, allocations: 9.469 kB / 0.6994 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002137/0.3565, allocations: 241.5 kB / 0.6996 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.3565, allocations: 1.156 kB / 0.6996 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002826/0.3567, allocations: 64.88 kB / 0.6997 GB, free: 9.09 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001963/0.3587, allocations: 1.164 MB / 0.7008 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.3591, allocations: 221.4 kB / 0.701 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3591, allocations: 0 / 0.701 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.3593, allocations: 128.9 kB / 0.7012 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.3595, allocations: 38.09 kB / 0.7012 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.3625, allocations: 2.537 MB / 0.7037 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.3628, allocations: 0.7619 MB / 0.7044 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003313/0.3632, allocations: 150.9 kB / 0.7046 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.3633, allocations: 95.39 kB / 0.7046 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.3633, allocations: 4 kB / 0.7047 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.3944, allocations: 6.062 MB / 0.7106 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.13, allocations: 2.609 kB / 0.7106 GB, free: 15.22 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.346012069378048] Failed to read output from testmodel.py, exit status != 0: 8.304181789979339 8.316772649 7.967927401 Calling exit ...