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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002926/0.002926, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.107/1.107, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.729/2.729, allocations: 221.3 MB / 400.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 94.97 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.909e-05/5.953e-05, allocations: 3.875 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2208, allocations: 82.32 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9219/1.143, allocations: 116 MB / 0.7538 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/1.143, allocations: 84.78 kB / 0.7539 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02688/1.17, allocations: 8.982 MB / 0.7627 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.326e-06/1.17, allocations: 0 / 0.7627 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.602e-05/1.17, allocations: 3.688 kB / 0.7627 GB, free: 25.03 MB / 0.5105 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.001305/1.171, allocations: 0.498 MB / 0.7632 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.05e-05/1.171, allocations: 11.62 kB / 0.7632 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/1.172, allocations: 52.67 kB / 0.7632 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003736/1.172, allocations: 31 kB / 0.7633 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000679/1.173, allocations: 276 kB / 0.7635 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/1.173, allocations: 14.75 kB / 0.7635 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/1.173, allocations: 14.84 kB / 0.7636 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006443/1.173, allocations: 232 kB / 0.7638 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/1.173, allocations: 3.938 kB / 0.7638 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/1.174, allocations: 7.562 kB / 0.7638 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/1.174, allocations: 3.844 kB / 0.7638 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/1.175, allocations: 0.7504 MB / 0.7645 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/1.176, allocations: 0.5985 MB / 0.7651 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/1.177, allocations: 306 kB / 0.7654 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/1.177, allocations: 108.4 kB / 0.7655 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.673e-05/1.177, allocations: 22.7 kB / 0.7655 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005343/1.178, allocations: 170.8 kB / 0.7657 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 6.232e-06/1.178, allocations: 0 / 0.7657 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.0008453/1.179, allocations: 297.7 kB / 0.766 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/1.179, allocations: 132.4 kB / 0.7661 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/1.179, allocations: 263.3 kB / 0.7664 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/1.179, allocations: 36.67 kB / 0.7664 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/1.18, allocations: 131.7 kB / 0.7665 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/1.18, allocations: 114.3 kB / 0.7666 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/1.18, allocations: 7.438 kB / 0.7666 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002633/1.18, allocations: 337.1 kB / 0.767 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/1.18, allocations: 81.16 kB / 0.767 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/1.18, allocations: 119.1 kB / 0.7671 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/1.181, allocations: 105.7 kB / 0.7672 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.181, allocations: 0 / 0.7672 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000623/1.181, allocations: 281.4 kB / 0.7675 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/1.181, allocations: 3.844 kB / 0.7675 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/1.181, allocations: 0 / 0.7675 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/1.181, allocations: 11.8 kB / 0.7675 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/1.182, allocations: 61.66 kB / 0.7676 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/1.182, allocations: 3.844 kB / 0.7676 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/1.182, allocations: 30.73 kB / 0.7676 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/1.182, allocations: 11.22 kB / 0.7676 GB, free: 22.25 MB / 0.5105 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001582/1.182, allocations: 119.4 kB / 0.7677 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.685e-05/1.182, allocations: 30.97 kB / 0.7678 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/1.184, allocations: 379.5 kB / 0.7681 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.184, allocations: 3.844 kB / 0.7681 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/1.184, allocations: 3.953 kB / 0.7681 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/1.184, allocations: 7.828 kB / 0.7682 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/1.184, allocations: 346.9 kB / 0.7685 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.184, allocations: 0 / 0.7685 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/1.184, allocations: 61.59 kB / 0.7685 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/1.185, allocations: 3.844 kB / 0.7685 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/1.185, allocations: 10.98 kB / 0.7686 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/1.185, allocations: 7.938 kB / 0.7686 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.185, allocations: 0 / 0.7686 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/1.185, allocations: 327.7 kB / 0.7689 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/1.186, allocations: 155.1 kB / 0.769 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/1.186, allocations: 10.45 kB / 0.769 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/1.186, allocations: 29.02 kB / 0.7691 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.186, allocations: 26.47 kB / 0.7691 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/1.186, allocations: 14.33 kB / 0.7691 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003525/1.187, allocations: 221.7 kB / 0.7693 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/1.187, allocations: 0 / 0.7693 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005392/1.187, allocations: 87.16 kB / 0.7694 GB, free: 21.32 MB / 0.5105 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002449/1.19, allocations: 1.123 MB / 0.7705 GB, free: 20.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004951/1.19, allocations: 226.8 kB / 0.7707 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.19, allocations: 0 / 0.7707 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/1.19, allocations: 129.7 kB / 0.7708 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/1.191, allocations: 34.39 kB / 0.7709 GB, free: 20.52 MB / 0.5105 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/1.192, allocations: 0.4979 MB / 0.7714 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/1.193, allocations: 0.7652 MB / 0.7721 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004318/1.193, allocations: 157.5 kB / 0.7722 GB, free: 19.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/1.194, allocations: 100.7 kB / 0.7723 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of SimCode: time 1.273e-06/1.194, allocations: 4 kB / 0.7723 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5262/1.72, allocations: 5.977 MB / 0.7782 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/1.72, allocations: 214.5 kB / 0.7784 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/4.661, allocations: 3.938 kB / 0.7784 GB, free: 13.91 MB / 0.5105 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/linux/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)