Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.CheckPressure,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",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.009378/0.009378, allocations: 172.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7935/0.7935, allocations: 135.2 MB / 151 MB, free: 13.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.772/1.772, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 103.3 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004204/0.0004203, allocations: 11.98 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5029/0.5033, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1648/0.6682, allocations: 115 MB / 0.7618 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003782/0.6687, allocations: 87.95 kB / 0.7619 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02259/0.6913, allocations: 8.335 MB / 0.7701 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.926e-06/0.6913, allocations: 0 / 0.7701 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.6914, allocations: 8 kB / 0.7701 GB, free: 8.527 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008466/0.6922, allocations: 0.5031 MB / 0.7706 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.6923, allocations: 8.031 kB / 0.7706 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.388e-05/0.6924, allocations: 50.55 kB / 0.7706 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.621e-05/0.6925, allocations: 35.62 kB / 0.7707 GB, free: 7.875 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.6929, allocations: 267.4 kB / 0.7709 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.6929, allocations: 12 kB / 0.7709 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.693, allocations: 12 kB / 0.7709 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.6934, allocations: 210.3 kB / 0.7711 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.6934, allocations: 0 / 0.7711 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.6934, allocations: 11.94 kB / 0.7711 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.6934, allocations: 8 kB / 0.7712 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009267/0.6944, allocations: 0.7334 MB / 0.7719 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009347/0.6953, allocations: 0.5628 MB / 0.7724 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.6957, allocations: 231.4 kB / 0.7726 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-05/0.6957, allocations: 19.97 kB / 0.7727 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.6961, allocations: 177.5 kB / 0.7728 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 1.413e-06/0.6961, allocations: 0 / 0.7728 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.0006817/0.6968, allocations: 368.6 kB / 0.7732 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/0.6969, allocations: 136.5 kB / 0.7733 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.6972, allocations: 264.1 kB / 0.7736 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.6972, allocations: 29.7 kB / 0.7736 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.6973, allocations: 124.8 kB / 0.7737 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.783e-05/0.6974, allocations: 110.5 kB / 0.7738 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.6974, allocations: 8 kB / 0.7738 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6976, allocations: 334.8 kB / 0.7741 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.6977, allocations: 79.95 kB / 0.7742 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.6979, allocations: 120.4 kB / 0.7743 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.6981, allocations: 103.9 kB / 0.7744 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6981, allocations: 4 kB / 0.7744 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004235/0.6985, allocations: 273.2 kB / 0.7747 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6986, allocations: 4 kB / 0.7747 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.6986, allocations: 0 / 0.7747 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.6986, allocations: 4 kB / 0.7747 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.6988, allocations: 63.95 kB / 0.7748 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6988, allocations: 0 / 0.7748 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.699, allocations: 43.61 kB / 0.7748 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.699, allocations: 8 kB / 0.7748 GB, free: 3.402 MB / 0.5417 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001779/0.6992, allocations: 169.7 kB / 0.775 GB, free: 3.227 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.6993, allocations: 23.72 kB / 0.775 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006773/0.7, allocations: 381.5 kB / 0.7754 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.7, allocations: 4 kB / 0.7754 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7, allocations: 0 / 0.7754 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.7, allocations: 0 / 0.7754 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.7003, allocations: 341.1 kB / 0.7757 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7004, allocations: 4 kB / 0.7757 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.7005, allocations: 63.84 kB / 0.7758 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.7005, allocations: 0 / 0.7758 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.7006, allocations: 11.98 kB / 0.7758 GB, free: 2.363 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7006, allocations: 0 / 0.7758 GB, free: 2.363 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7006, allocations: 0 / 0.7758 GB, free: 2.363 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.701, allocations: 317.6 kB / 0.7761 GB, free: 2.031 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.7012, allocations: 156.7 kB / 0.7762 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.7013, allocations: 8 kB / 0.7762 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.7015, allocations: 19.98 kB / 0.7762 GB, free: 1.832 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.7015, allocations: 23.97 kB / 0.7763 GB, free: 1.809 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.7016, allocations: 11.98 kB / 0.7763 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000232/0.7018, allocations: 220.4 kB / 0.7765 GB, free: 1.586 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7018, allocations: 3.938 kB / 0.7765 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003332/0.7022, allocations: 75.94 kB / 0.7766 GB, free: 1.508 MB / 0.5417 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 (33): * Single equations (assignments): 32 * 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.001728/0.7039, allocations: 1.154 MB / 0.7777 GB, free: 488 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003933/0.7043, allocations: 215.8 kB / 0.7779 GB, free: 272 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7043, allocations: 0 / 0.7779 GB, free: 272 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.7045, allocations: 123.8 kB / 0.778 GB, free: 148 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.7048, allocations: 27.25 kB / 0.778 GB, free: 116 kB / 0.5417 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.002269/0.7071, allocations: 1.468 MB / 0.7795 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.7074, allocations: 0.7651 MB / 0.7802 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003402/0.7078, allocations: 150.8 kB / 0.7804 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.7079, allocations: 91.39 kB / 0.7805 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of SimCode: time 4.41e-07/0.7079, allocations: 0 / 0.7805 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4609/1.169, allocations: 5.531 MB / 0.7859 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/1.169, allocations: 239.5 kB / 0.7861 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.612, allocations: 0 / 0.7861 GB, free: 7.969 MB / 0.5573 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)