Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004818/0.004818, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 198.6 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9512/0.9512, allocations: 135.6 MB / 426.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.89 kB / 0.5858 GB, free: 3.203 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.343, allocations: 81.03 MB / 0.6649 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002393/0.3454, allocations: 1.842 MB / 0.6667 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.347, allocations: 1.584 MB / 0.6682 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.347, allocations: 1.312 kB / 0.6682 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.3472, allocations: 27.44 kB / 0.6683 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.3475, allocations: 82.36 kB / 0.6684 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.3478, allocations: 170.7 kB / 0.6685 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.3481, allocations: 276.1 kB / 0.6688 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.3482, allocations: 34.8 kB / 0.6688 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.3483, allocations: 92.16 kB / 0.6689 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.3485, allocations: 109 kB / 0.669 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.3485, allocations: 18.88 kB / 0.669 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.3487, allocations: 81.03 kB / 0.6691 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.078e-05/0.3488, allocations: 95.53 kB / 0.6692 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.405e-05/0.3489, allocations: 113.2 kB / 0.6693 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.3492, allocations: 324.9 kB / 0.6696 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3492, allocations: 0 / 0.6696 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3492, allocations: 0 / 0.6696 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3492, allocations: 5.25 kB / 0.6696 GB, free: 3.297 MB / 0.4981 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.0006027/0.3498, allocations: 0.5672 MB / 0.6702 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3498, allocations: 9.531 kB / 0.6702 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.3499, allocations: 53.25 kB / 0.6702 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.35, allocations: 33.16 kB / 0.6703 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.3503, allocations: 274.8 kB / 0.6705 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.3503, allocations: 18.56 kB / 0.6705 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.3503, allocations: 18.59 kB / 0.6706 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.3506, allocations: 234.8 kB / 0.6708 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3507, allocations: 3.938 kB / 0.6708 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.3507, allocations: 6.375 kB / 0.6708 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3507, allocations: 4 kB / 0.6708 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007439/0.3515, allocations: 0.7467 MB / 0.6715 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/0.3523, allocations: 0.6245 MB / 0.6721 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.3528, allocations: 313.8 kB / 0.6724 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.3529, allocations: 107.3 kB / 0.6725 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.353, allocations: 21.78 kB / 0.6726 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.3533, allocations: 178.7 kB / 0.6727 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.304e-06/0.3533, allocations: 0 / 0.6727 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0006313/0.3539, allocations: 388.8 kB / 0.6731 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.354, allocations: 136.6 kB / 0.6732 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.3542, allocations: 305.6 kB / 0.6735 GB, free: 496 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.3542, allocations: 35.89 kB / 0.6736 GB, free: 456 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.3543, allocations: 126.5 kB / 0.6737 GB, free: 336 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.46e-05/0.3544, allocations: 125.9 kB / 0.6738 GB, free: 224 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.3545, allocations: 69.81 kB / 0.6739 GB, free: 176 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3546, allocations: 334.4 kB / 0.6742 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.3548, allocations: 85.02 kB / 0.6743 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.355, allocations: 130.8 kB / 0.6744 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.3553, allocations: 220.4 kB / 0.6746 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3553, allocations: 0 / 0.6746 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004318/0.3557, allocations: 282.1 kB / 0.6749 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3558, allocations: 5.5 kB / 0.6749 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3558, allocations: 0 / 0.6749 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3558, allocations: 5.281 kB / 0.6749 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.356, allocations: 68.53 kB / 0.6749 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.356, allocations: 1.406 kB / 0.6749 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.3562, allocations: 24.81 kB / 0.675 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.3562, allocations: 17.55 kB / 0.675 GB, free: 15.43 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.0001586/0.3564, allocations: 156.8 kB / 0.6751 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.3564, allocations: 33.12 kB / 0.6752 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006783/0.3571, allocations: 390.1 kB / 0.6755 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3571, allocations: 8.312 kB / 0.6755 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3572, allocations: 0 / 0.6755 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3572, allocations: 5.484 kB / 0.6755 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.3575, allocations: 343.5 kB / 0.6759 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3576, allocations: 0 / 0.6759 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.3577, allocations: 61.91 kB / 0.6759 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3577, allocations: 2.188 kB / 0.6759 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.3578, allocations: 16.3 kB / 0.6759 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3578, allocations: 1.219 kB / 0.676 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3578, allocations: 0 / 0.676 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.3583, allocations: 319.6 kB / 0.6763 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.3584, allocations: 155.3 kB / 0.6764 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.3585, allocations: 14.03 kB / 0.6764 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.3587, allocations: 19.95 kB / 0.6764 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.3588, allocations: 27.89 kB / 0.6765 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.3588, allocations: 14.28 kB / 0.6765 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002188/0.359, allocations: 238.7 kB / 0.6767 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.359, allocations: 0 / 0.6767 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000295/0.3593, allocations: 63.84 kB / 0.6768 GB, free: 14.15 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.002056/0.3614, allocations: 1.172 MB / 0.6779 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003896/0.3618, allocations: 232.8 kB / 0.6781 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3618, allocations: 0 / 0.6781 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.362, allocations: 135.8 kB / 0.6783 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3623, allocations: 42.94 kB / 0.6783 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.3652, allocations: 2.524 MB / 0.6808 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.3656, allocations: 0.7621 MB / 0.6815 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003243/0.3659, allocations: 143.9 kB / 0.6816 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.3661, allocations: 97.86 kB / 0.6817 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.3661, allocations: 4 kB / 0.6817 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3606/0.7267, allocations: 5.997 MB / 0.6876 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.268/9.995, allocations: 11.59 kB / 0.6876 GB, free: 7.422 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)