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) 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/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.119/1.119, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6543/0.6543, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.44 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2868, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002572/0.2894, allocations: 1.855 MB / 0.582 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.291, allocations: 1.577 MB / 0.5836 GB, free: 2.164 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.2911, allocations: 1 kB / 0.5836 GB, free: 2.164 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.2912, allocations: 25.88 kB / 0.5836 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.2915, allocations: 69.84 kB / 0.5836 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.2918, allocations: 182.1 kB / 0.5838 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.292, allocations: 266.1 kB / 0.5841 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2922, allocations: 40.56 kB / 0.5841 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.2922, allocations: 95.45 kB / 0.5842 GB, free: 1.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.2924, allocations: 100.6 kB / 0.5843 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.2925, allocations: 20.84 kB / 0.5843 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.2926, allocations: 84.86 kB / 0.5844 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.543e-05/0.2927, allocations: 89.62 kB / 0.5845 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.581e-05/0.2928, allocations: 124.1 kB / 0.5846 GB, free: 1.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.2931, allocations: 319 kB / 0.5849 GB, free: 1.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2931, allocations: 0.8438 kB / 0.5849 GB, free: 1.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2931, allocations: 0 / 0.5849 GB, free: 1.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2931, allocations: 1.25 kB / 0.5849 GB, free: 1.52 MB / 430.1 MB 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.0005932/0.2937, allocations: 0.5503 MB / 0.5854 GB, free: 1.035 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.2938, allocations: 9.859 kB / 0.5855 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.2938, allocations: 53.56 kB / 0.5855 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.294, allocations: 34.27 kB / 0.5855 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.2942, allocations: 274.1 kB / 0.5858 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.2942, allocations: 20 kB / 0.5858 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.2942, allocations: 19.42 kB / 0.5858 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.2946, allocations: 232.7 kB / 0.5861 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.2946, allocations: 0.7031 kB / 0.5861 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.2946, allocations: 6.75 kB / 0.5861 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2946, allocations: 3.375 kB / 0.5861 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/0.2954, allocations: 0.7464 MB / 0.5868 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008354/0.2963, allocations: 0.6329 MB / 0.5874 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.2968, allocations: 309.4 kB / 0.5877 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.2969, allocations: 108.9 kB / 0.5878 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.297, allocations: 33.14 kB / 0.5878 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.2973, allocations: 176.8 kB / 0.588 GB, free: 15.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.522e-06/0.2973, allocations: 0 / 0.588 GB, free: 15.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006169/0.2979, allocations: 375.4 kB / 0.5884 GB, free: 15.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.298, allocations: 133.5 kB / 0.5885 GB, free: 15.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.2982, allocations: 310.7 kB / 0.5888 GB, free: 15.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.2983, allocations: 38.67 kB / 0.5888 GB, free: 15.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.2983, allocations: 129.2 kB / 0.589 GB, free: 15.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.108e-05/0.2984, allocations: 115 kB / 0.5891 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.2985, allocations: 66.41 kB / 0.5891 GB, free: 15.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.2986, allocations: 335 kB / 0.5895 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.2988, allocations: 83.98 kB / 0.5895 GB, free: 14.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.299, allocations: 132.6 kB / 0.5897 GB, free: 14.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.2993, allocations: 215.3 kB / 0.5899 GB, free: 14.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2993, allocations: 0 / 0.5899 GB, free: 14.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004176/0.2997, allocations: 280.1 kB / 0.5901 GB, free: 14.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.2997, allocations: 8.188 kB / 0.5901 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2997, allocations: 1.234 kB / 0.5901 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2997, allocations: 5.219 kB / 0.5901 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.2999, allocations: 61.64 kB / 0.5902 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3, allocations: 5.875 kB / 0.5902 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.3001, allocations: 26.58 kB / 0.5902 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.3001, allocations: 23.47 kB / 0.5903 GB, free: 14.41 MB / 446.1 MB 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.0001304/0.3003, allocations: 159.5 kB / 0.5904 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.3003, allocations: 25.92 kB / 0.5904 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006155/0.3009, allocations: 390.2 kB / 0.5908 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.301, allocations: 8 kB / 0.5908 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.301, allocations: 1 kB / 0.5908 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.301, allocations: 1.922 kB / 0.5908 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.3013, allocations: 351 kB / 0.5912 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3013, allocations: 3.938 kB / 0.5912 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.3015, allocations: 57.98 kB / 0.5912 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3015, allocations: 1.375 kB / 0.5912 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.3015, allocations: 14.61 kB / 0.5912 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3015, allocations: 1.219 kB / 0.5912 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3015, allocations: 0 / 0.5912 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.302, allocations: 330.5 kB / 0.5915 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3021, allocations: 147.2 kB / 0.5917 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.3021, allocations: 11.34 kB / 0.5917 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.3023, allocations: 21.59 kB / 0.5917 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.3024, allocations: 26.47 kB / 0.5917 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.3024, allocations: 15.41 kB / 0.5918 GB, free: 13.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.3026, allocations: 238.5 kB / 0.592 GB, free: 13.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3026, allocations: 4 kB / 0.592 GB, free: 13.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3029, allocations: 67.23 kB / 0.592 GB, free: 13.36 MB / 446.1 MB 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.001305/0.3042, allocations: 1.154 MB / 0.5932 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004446/0.3046, allocations: 310.6 kB / 0.5935 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3046, allocations: 4 kB / 0.5935 GB, free: 12.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.3048, allocations: 130.1 kB / 0.5936 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.3051, allocations: 37.77 kB / 0.5936 GB, free: 12.46 MB / 446.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.3075, allocations: 2.525 MB / 0.5961 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.3078, allocations: 0.7584 MB / 0.5968 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002893/0.3081, allocations: 142.8 kB / 0.597 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.3082, allocations: 98.52 kB / 0.5971 GB, free: 10.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3082, allocations: 0 / 0.5971 GB, free: 10.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 20.57/20.88, allocations: 5.945 MB / 0.6029 GB, free: 7.246 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/28.54, allocations: 10.2 kB / 0.6029 GB, free: 7.238 MB / 446.1 MB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)