Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.0009789/0.0009789, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009642/0.0009642, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.212/1.212, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8766/0.8766, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 55.72 kB / 0.5048 GB, free: 5.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1421, allocations: 80.93 MB / 0.5838 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4045/0.5466, allocations: 173.5 MB / 0.7532 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.5606, allocations: 12.66 MB / 0.7656 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008965/0.5615, allocations: 27.81 kB / 0.7656 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.5626, allocations: 365.7 kB / 0.766 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.5648, allocations: 0.8364 MB / 0.7668 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003454/0.5683, allocations: 1.626 MB / 0.7684 GB, free: 376 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00241/0.5707, allocations: 2.63 MB / 0.771 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.5725, allocations: 1.451 MB / 0.7724 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003607/0.5761, allocations: 1.212 MB / 0.7736 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000917/0.577, allocations: 0.7972 MB / 0.7743 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.5772, allocations: 84 kB / 0.7744 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.5794, allocations: 1.458 MB / 0.7758 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.5797, allocations: 398.6 kB / 0.7762 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006753/0.5804, allocations: 0.7304 MB / 0.7769 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002608/0.583, allocations: 2.582 MB / 0.7795 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.583, allocations: 0 / 0.7795 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.61e-07/0.583, allocations: 0 / 0.7795 GB, free: 5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.581e-05/0.5831, allocations: 0 / 0.7795 GB, free: 5 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.002934/0.586, allocations: 1.902 MB / 0.7813 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.5861, allocations: 12.02 kB / 0.7813 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000213/0.5863, allocations: 198.4 kB / 0.7815 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/0.5887, allocations: 405.5 kB / 0.7819 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.59, allocations: 0.9527 MB / 0.7828 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/0.5901, allocations: 102.6 kB / 0.7829 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.5902, allocations: 124 kB / 0.7831 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.5924, allocations: 1.452 MB / 0.7845 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.5925, allocations: 4 kB / 0.7845 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.5926, allocations: 60 kB / 0.7845 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.5926, allocations: 32 kB / 0.7846 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.595, allocations: 1.539 MB / 0.7861 GB, free: 14.04 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005939/0.6009, allocations: 4.898 MB / 0.7908 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.6032, allocations: 1.437 MB / 0.7923 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007236/0.6039, allocations: 459.5 kB / 0.7927 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006856/0.6046, allocations: 425.4 kB / 0.7931 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.6056, allocations: 0.6139 MB / 0.7937 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 1.894e-06/0.6056, allocations: 0 / 0.7937 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.003579/0.6092, allocations: 1.532 MB / 0.7952 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.659e-05/0.6093, allocations: 192.9 kB / 0.7954 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009339/0.6102, allocations: 0.8504 MB / 0.7962 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/0.6103, allocations: 45.7 kB / 0.7962 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.6107, allocations: 0.5777 MB / 0.7968 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.611, allocations: 335.2 kB / 0.7971 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.6112, allocations: 186.5 kB / 0.7973 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6113, allocations: 341.9 kB / 0.7976 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006497/0.612, allocations: 344.5 kB / 0.798 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008077/0.6128, allocations: 0.5242 MB / 0.7985 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.6143, allocations: 0.8824 MB / 0.7993 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6143, allocations: 0 / 0.7993 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002248/0.6165, allocations: 1.102 MB / 0.8004 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.6166, allocations: 8 kB / 0.8004 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6166, allocations: 4 kB / 0.8004 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005282/0.6171, allocations: 81.19 kB / 0.8005 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009269/0.618, allocations: 235.7 kB / 0.8007 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02482/0.6429, allocations: 1.532 MB / 0.8022 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009574/0.6438, allocations: 135 kB / 0.8024 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.843e-05/0.6439, allocations: 37.62 kB / 0.8024 GB, free: 12.52 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004586/0.6444, allocations: 331.5 kB / 0.8027 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.6446, allocations: 114.6 kB / 0.8028 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002748/0.6473, allocations: 1.344 MB / 0.8041 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.6474, allocations: 8 kB / 0.8041 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.6474, allocations: 7.938 kB / 0.8041 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.6474, allocations: 3.984 kB / 0.8041 GB, free: 10.7 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003932/0.6513, allocations: 2.683 MB / 0.8068 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6513, allocations: 7.984 kB / 0.8068 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000899/0.6522, allocations: 215.7 kB / 0.807 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/0.6527, allocations: 80.78 kB / 0.8071 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-05/0.6528, allocations: 35.91 kB / 0.8071 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.6544, allocations: 1.559 MB / 0.8086 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.6544, allocations: 32 / 0.8086 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.6566, allocations: 1.222 MB / 0.8098 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/0.657, allocations: 347.2 kB / 0.8101 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.6572, allocations: 19.98 kB / 0.8102 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008126/0.658, allocations: 83.92 kB / 0.8102 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.6582, allocations: 72.89 kB / 0.8103 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.079e-05/0.6583, allocations: 51.97 kB / 0.8104 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006762/0.659, allocations: 0.5864 MB / 0.8109 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.659, allocations: 0 / 0.8109 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000985/0.66, allocations: 458.8 kB / 0.8114 GB, free: 3.027 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003757/0.6637, allocations: 2.371 MB / 0.8137 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.6656, allocations: 1.03 MB / 0.8147 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.6656, allocations: 8.641 kB / 0.8147 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.6666, allocations: 0.6329 MB / 0.8153 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.6684, allocations: 485.1 kB / 0.8158 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/0.6832, allocations: 9.519 MB / 0.8251 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.6839, allocations: 1.178 MB / 0.8262 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001322/0.6853, allocations: 385.1 kB / 0.8266 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006887/0.686, allocations: 0.5266 MB / 0.8271 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.686, allocations: 0 / 0.8271 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.643/1.329, allocations: 30.66 MB / 0.857 GB, free: 4.461 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002854/1.329, allocations: 288.3 kB / 0.8573 GB, free: 4.078 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.859/4.188, allocations: 0 / 0.8573 GB, free: 4.078 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)