Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_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.0008857/0.0008857, allocations: 104 kB / 15.98 MB, free: 6.352 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.0009588/0.0009588, allocations: 190.5 kB / 16.91 MB, free: 6.195 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.208/1.208, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6703/0.6703, allocations: 115.3 MB / 406.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 67.89 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2903, allocations: 76.17 MB / 0.556 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002449/0.2928, allocations: 1.913 MB / 0.5579 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.2943, allocations: 1.557 MB / 0.5594 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.2943, allocations: 2.406 kB / 0.5594 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.2945, allocations: 19.09 kB / 0.5594 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.2947, allocations: 69.12 kB / 0.5595 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.295, allocations: 154.7 kB / 0.5597 GB, free: 33.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.2953, allocations: 282.3 kB / 0.5599 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.588e-05/0.2954, allocations: 34.8 kB / 0.56 GB, free: 33.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.133e-05/0.2955, allocations: 96.14 kB / 0.56 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.2957, allocations: 107.1 kB / 0.5601 GB, free: 33.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.2957, allocations: 19.59 kB / 0.5602 GB, free: 33.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.2958, allocations: 90.16 kB / 0.5603 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.666e-05/0.2959, allocations: 91.36 kB / 0.5603 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.296, allocations: 122.8 kB / 0.5605 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.2963, allocations: 317.5 kB / 0.5608 GB, free: 33.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2963, allocations: 1.219 kB / 0.5608 GB, free: 33.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2963, allocations: 0 / 0.5608 GB, free: 33.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.2963, allocations: 1.531 kB / 0.5608 GB, free: 33.38 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005906/0.2969, allocations: 0.5579 MB / 0.5613 GB, free: 32.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.297, allocations: 15 kB / 0.5613 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/0.297, allocations: 55.42 kB / 0.5614 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.2972, allocations: 33.88 kB / 0.5614 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.2974, allocations: 279.1 kB / 0.5617 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.2974, allocations: 15.14 kB / 0.5617 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.2974, allocations: 20.52 kB / 0.5617 GB, free: 32.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.2978, allocations: 245.7 kB / 0.5619 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2978, allocations: 0 / 0.5619 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.2978, allocations: 6.781 kB / 0.5619 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2978, allocations: 7.344 kB / 0.562 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008286/0.2987, allocations: 0.7536 MB / 0.5627 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008166/0.2995, allocations: 0.6375 MB / 0.5633 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.2999, allocations: 310.5 kB / 0.5636 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.3001, allocations: 108.9 kB / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.3001, allocations: 18.72 kB / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002791/0.3004, allocations: 183.4 kB / 0.5639 GB, free: 31.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.3004, allocations: 0 / 0.5639 GB, free: 31.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005771/0.301, allocations: 379.8 kB / 0.5643 GB, free: 31.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3011, allocations: 137.6 kB / 0.5644 GB, free: 31.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.3013, allocations: 306.4 kB / 0.5647 GB, free: 31.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.3013, allocations: 32.3 kB / 0.5647 GB, free: 31.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.3014, allocations: 138.5 kB / 0.5649 GB, free: 31.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.3014, allocations: 122.9 kB / 0.565 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.3015, allocations: 68.11 kB / 0.565 GB, free: 30.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.3016, allocations: 334.6 kB / 0.5654 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.3017, allocations: 85.94 kB / 0.5654 GB, free: 30.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.3019, allocations: 134.1 kB / 0.5656 GB, free: 30.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.3022, allocations: 217.1 kB / 0.5658 GB, free: 30.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3022, allocations: 0 / 0.5658 GB, free: 30.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00038/0.3026, allocations: 279.8 kB / 0.566 GB, free: 30.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3026, allocations: 9.703 kB / 0.566 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3026, allocations: 0 / 0.566 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.3026, allocations: 3.25 kB / 0.5661 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.3028, allocations: 65.12 kB / 0.5661 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3028, allocations: 2.031 kB / 0.5661 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.303, allocations: 24.86 kB / 0.5661 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.303, allocations: 14.66 kB / 0.5662 GB, free: 30.26 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.0001151/0.3031, allocations: 158.9 kB / 0.5663 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.3032, allocations: 38.03 kB / 0.5663 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005935/0.3038, allocations: 384.4 kB / 0.5667 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.3038, allocations: 6.281 kB / 0.5667 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3038, allocations: 4.562 kB / 0.5667 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3038, allocations: 1.828 kB / 0.5667 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.3041, allocations: 346 kB / 0.567 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3041, allocations: 0 / 0.567 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.3042, allocations: 58.44 kB / 0.5671 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3042, allocations: 5.938 kB / 0.5671 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.3043, allocations: 10.5 kB / 0.5671 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3043, allocations: 1.562 kB / 0.5671 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3043, allocations: 1.062 kB / 0.5671 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.3047, allocations: 326.1 kB / 0.5674 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.3048, allocations: 145.5 kB / 0.5676 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.3048, allocations: 11.56 kB / 0.5676 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.305, allocations: 26.3 kB / 0.5676 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.3051, allocations: 22.28 kB / 0.5676 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.3051, allocations: 16.25 kB / 0.5676 GB, free: 29.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.3053, allocations: 237.5 kB / 0.5679 GB, free: 29.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3053, allocations: 0.625 kB / 0.5679 GB, free: 29.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.3056, allocations: 73.55 kB / 0.5679 GB, free: 29.23 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.001253/0.3068, allocations: 1.173 MB / 0.5691 GB, free: 28.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.3073, allocations: 307.2 kB / 0.5694 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3073, allocations: 1.25 kB / 0.5694 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.3075, allocations: 130 kB / 0.5695 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.3077, allocations: 43.28 kB / 0.5695 GB, free: 28.35 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.002397/0.3102, allocations: 2.604 MB / 0.5721 GB, free: 26.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.3103, allocations: 0.7631 MB / 0.5728 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000296/0.3106, allocations: 152.4 kB / 0.573 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.3108, allocations: 101.1 kB / 0.5731 GB, free: 25.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3108, allocations: 0 / 0.5731 GB, free: 25.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.242/0.5527, allocations: 5.87 MB / 0.5788 GB, free: 25.08 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.5529, allocations: 275.2 kB / 0.5791 GB, free: 24.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.57, allocations: 2.25 kB / 0.5791 GB, free: 24.7 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)