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.001099/0.001099, 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.00107/0.00107, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8384/0.8384, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 68.14 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1358, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.3708/0.5067, allocations: 175.8 MB / 0.7561 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.5198, allocations: 12.63 MB / 0.7685 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007982/0.5207, allocations: 31.81 kB / 0.7685 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.5217, allocations: 448.7 kB / 0.7689 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.5237, allocations: 0.9382 MB / 0.7698 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003447/0.5272, allocations: 1.803 MB / 0.7716 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.529, allocations: 2.275 MB / 0.7738 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.5307, allocations: 1.593 MB / 0.7754 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002772/0.5335, allocations: 1.337 MB / 0.7767 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007656/0.5343, allocations: 0.8246 MB / 0.7775 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.5345, allocations: 156 kB / 0.7776 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.5366, allocations: 1.373 MB / 0.779 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.5369, allocations: 466.6 kB / 0.7794 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005884/0.5375, allocations: 0.8007 MB / 0.7802 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.5401, allocations: 2.594 MB / 0.7827 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5401, allocations: 0 / 0.7827 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.106e-06/0.5401, allocations: 4 kB / 0.7827 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.963e-05/0.5401, allocations: 0 / 0.7827 GB, free: 1.789 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.002586/0.5427, allocations: 1.902 MB / 0.7846 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.5428, allocations: 12.03 kB / 0.7846 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002033/0.543, allocations: 206.3 kB / 0.7848 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002357/0.5454, allocations: 397.6 kB / 0.7852 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.5465, allocations: 0.9606 MB / 0.7861 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.465e-05/0.5466, allocations: 98.62 kB / 0.7862 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.5468, allocations: 131.9 kB / 0.7864 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.5488, allocations: 1.449 MB / 0.7878 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.5488, allocations: 7.938 kB / 0.7878 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.549, allocations: 60 kB / 0.7878 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.549, allocations: 32 kB / 0.7879 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.5513, allocations: 1.536 MB / 0.7894 GB, free: 10.82 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.005499/0.5568, allocations: 4.925 MB / 0.7942 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.5589, allocations: 1.425 MB / 0.7956 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007033/0.5596, allocations: 452.8 kB / 0.796 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006397/0.5603, allocations: 429.4 kB / 0.7964 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009592/0.5612, allocations: 0.6216 MB / 0.797 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 2.064e-06/0.5612, allocations: 0 / 0.797 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.003512/0.5648, allocations: 1.52 MB / 0.7985 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.5649, allocations: 196.9 kB / 0.7987 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008922/0.5658, allocations: 0.8504 MB / 0.7995 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.5658, allocations: 49.7 kB / 0.7996 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.5662, allocations: 0.5738 MB / 0.8001 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.5664, allocations: 335.2 kB / 0.8004 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.5667, allocations: 178.5 kB / 0.8006 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5669, allocations: 341.9 kB / 0.8009 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006483/0.5675, allocations: 341.8 kB / 0.8013 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/0.5683, allocations: 0.5242 MB / 0.8018 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.5698, allocations: 0.8746 MB / 0.8026 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5698, allocations: 4 kB / 0.8026 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002186/0.572, allocations: 1.102 MB / 0.8037 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.572, allocations: 4.406 kB / 0.8037 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.572, allocations: 8 kB / 0.8037 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/0.5726, allocations: 84.77 kB / 0.8038 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/0.5735, allocations: 231.7 kB / 0.804 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.5753, allocations: 1.652 MB / 0.8056 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.576, allocations: 121.2 kB / 0.8058 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/0.5761, allocations: 43.97 kB / 0.8058 GB, free: 9.18 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.0004036/0.5765, allocations: 326.9 kB / 0.8061 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.5767, allocations: 114.6 kB / 0.8062 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.5794, allocations: 1.339 MB / 0.8075 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.5794, allocations: 15.94 kB / 0.8075 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.5794, allocations: 3.938 kB / 0.8075 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.5794, allocations: 7.969 kB / 0.8075 GB, free: 7.363 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.003688/0.5831, allocations: 2.69 MB / 0.8102 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5831, allocations: 0 / 0.8102 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000856/0.584, allocations: 211.7 kB / 0.8104 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000413/0.5844, allocations: 72.8 kB / 0.8104 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.5845, allocations: 31.97 kB / 0.8105 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.5861, allocations: 1.681 MB / 0.8121 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5861, allocations: 0 / 0.8121 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.5883, allocations: 1.219 MB / 0.8133 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.5887, allocations: 343.4 kB / 0.8136 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.5888, allocations: 23.98 kB / 0.8137 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007642/0.5896, allocations: 74.67 kB / 0.8137 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.5897, allocations: 76.84 kB / 0.8138 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.512e-05/0.5898, allocations: 51.95 kB / 0.8139 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006225/0.5904, allocations: 0.5864 MB / 0.8144 GB, free: 40 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5904, allocations: 0 / 0.8144 GB, free: 40 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009361/0.5914, allocations: 458.9 kB / 0.8149 GB, free: 15.59 MB / 0.6387 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.003591/0.595, allocations: 2.363 MB / 0.8172 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002634/0.5976, allocations: 1.335 MB / 0.8185 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5976, allocations: 4 kB / 0.8185 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009889/0.5986, allocations: 0.629 MB / 0.8191 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.6005, allocations: 0.5175 MB / 0.8196 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.6128, allocations: 8.984 MB / 0.8284 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/0.6134, allocations: 1.178 MB / 0.8295 GB, free: 380 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001167/0.6146, allocations: 377.2 kB / 0.8299 GB, free: 0 / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006458/0.6152, allocations: 0.5306 MB / 0.8304 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.6152, allocations: 3.938 kB / 0.8304 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.556/2.171, allocations: 31.67 MB / 0.8613 GB, free: 224 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/16.91, allocations: 2.578 kB / 0.8613 GB, free: 224 kB / 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)