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.005874/0.005874, allocations: 99.06 kB / 15.73 MB, free: 6.492 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.001254/0.001254, allocations: 199.1 kB / 16.68 MB, free: 6.375 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.972/0.972, allocations: 135.5 MB / 426.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 72.11 kB / 0.5857 GB, free: 3.188 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4491, allocations: 81.02 MB / 0.6649 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2078/0.657, allocations: 175.8 MB / 0.8366 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01839/0.6754, allocations: 12.64 MB / 0.8489 GB, free: 3.734 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.6768, allocations: 31.81 kB / 0.8489 GB, free: 3.703 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.6781, allocations: 436.7 kB / 0.8493 GB, free: 3.273 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.681, allocations: 0.931 MB / 0.8503 GB, free: 2.34 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004811/0.6858, allocations: 1.816 MB / 0.852 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003795/0.6896, allocations: 2.287 MB / 0.8543 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002802/0.6924, allocations: 1.586 MB / 0.8558 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004224/0.6967, allocations: 1.35 MB / 0.8571 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.698, allocations: 0.8129 MB / 0.8579 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003175/0.6984, allocations: 160 kB / 0.8581 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.7013, allocations: 1.415 MB / 0.8595 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005193/0.7019, allocations: 470.6 kB / 0.8599 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.7029, allocations: 0.7929 MB / 0.8607 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00465/0.7076, allocations: 2.652 MB / 0.8633 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7076, allocations: 0 / 0.8633 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7076, allocations: 3.938 kB / 0.8633 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.118e-05/0.7076, allocations: 0 / 0.8633 GB, free: 4.973 MB / 0.6856 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.003466/0.7111, allocations: 1.966 MB / 0.8652 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.7111, allocations: 8.031 kB / 0.8652 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002471/0.7114, allocations: 198.3 kB / 0.8654 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.714, allocations: 406.5 kB / 0.8658 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.7156, allocations: 1 MB / 0.8668 GB, free: 1.293 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.876e-05/0.7157, allocations: 102.6 kB / 0.8668 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.7159, allocations: 128 kB / 0.867 GB, free: 1.066 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3168/1.033, allocations: 1.45 MB / 0.8684 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/1.033, allocations: 4.625 kB / 0.8684 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/1.033, allocations: 56.69 kB / 0.8684 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/1.033, allocations: 38.06 kB / 0.8685 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/1.036, allocations: 1.533 MB / 0.87 GB, free: 192 MB / 0.6856 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.007221/1.044, allocations: 4.884 MB / 0.8747 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/1.046, allocations: 1.415 MB / 0.8761 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007923/1.047, allocations: 458.6 kB / 0.8766 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006456/1.047, allocations: 425.8 kB / 0.877 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/1.048, allocations: 0.6186 MB / 0.8776 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 2.665e-06/1.048, allocations: 0.75 kB / 0.8776 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98): time 0.004138/1.053, allocations: 1.541 MB / 0.8791 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/1.053, allocations: 195.2 kB / 0.8793 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/1.054, allocations: 0.8421 MB / 0.8801 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.831e-05/1.054, allocations: 53.73 kB / 0.8801 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005757/1.055, allocations: 0.586 MB / 0.8807 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/1.055, allocations: 349.5 kB / 0.881 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004482/1.055, allocations: 180.8 kB / 0.8812 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.565e-05/1.056, allocations: 342.8 kB / 0.8815 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/1.057, allocations: 338.5 kB / 0.8819 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/1.058, allocations: 0.5325 MB / 0.8824 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/1.06, allocations: 0.8789 MB / 0.8832 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.06, allocations: 7.922 kB / 0.8833 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003779/1.064, allocations: 1.101 MB / 0.8843 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/1.064, allocations: 6.969 kB / 0.8843 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.064, allocations: 3.625 kB / 0.8843 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008472/1.065, allocations: 93.84 kB / 0.8844 GB, free: 182.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/1.066, allocations: 230.9 kB / 0.8847 GB, free: 182.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/1.069, allocations: 1.644 MB / 0.8863 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/1.07, allocations: 121 kB / 0.8864 GB, free: 181 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/1.07, allocations: 43.09 kB / 0.8864 GB, free: 181 MB / 0.6856 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.0007985/1.071, allocations: 326.2 kB / 0.8867 GB, free: 180.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/1.071, allocations: 127.5 kB / 0.8868 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/1.076, allocations: 1.331 MB / 0.8881 GB, free: 180 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.076, allocations: 11.06 kB / 0.8882 GB, free: 180 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.076, allocations: 0 / 0.8882 GB, free: 180 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/1.076, allocations: 7.969 kB / 0.8882 GB, free: 180 MB / 0.6856 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.006643/1.082, allocations: 2.702 MB / 0.8908 GB, free: 178.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.082, allocations: 4 kB / 0.8908 GB, free: 178.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/1.084, allocations: 208.5 kB / 0.891 GB, free: 178.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007292/1.085, allocations: 70.27 kB / 0.8911 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/1.085, allocations: 37.72 kB / 0.8911 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/1.088, allocations: 1.674 MB / 0.8927 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.088, allocations: 64 / 0.8927 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/1.092, allocations: 1.231 MB / 0.8939 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007919/1.093, allocations: 348.5 kB / 0.8943 GB, free: 175.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/1.093, allocations: 18.56 kB / 0.8943 GB, free: 175.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/1.094, allocations: 74.61 kB / 0.8944 GB, free: 175.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/1.095, allocations: 72.97 kB / 0.8944 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/1.095, allocations: 48.52 kB / 0.8945 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001301/1.096, allocations: 0.5887 MB / 0.8951 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.51e-07/1.096, allocations: 0 / 0.8951 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001975/1.098, allocations: 461.2 kB / 0.8955 GB, free: 174.9 MB / 0.6856 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.007173/1.105, allocations: 2.386 MB / 0.8978 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003406/1.109, allocations: 1.039 MB / 0.8988 GB, free: 173 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.109, allocations: 1.062 kB / 0.8988 GB, free: 173 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/1.111, allocations: 0.635 MB / 0.8995 GB, free: 172.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/1.114, allocations: 0.5184 MB / 0.9 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/1.137, allocations: 8.55 MB / 0.9083 GB, free: 167.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/1.138, allocations: 1.176 MB / 0.9095 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002072/1.14, allocations: 383 kB / 0.9098 GB, free: 166.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009889/1.141, allocations: 0.5253 MB / 0.9103 GB, free: 165.7 MB / 0.6856 GB Notification: Performance of SimCode: time 1.242e-06/1.141, allocations: 3.938 kB / 0.9103 GB, free: 165.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0644/1.205, allocations: 31.97 MB / 0.9416 GB, free: 135.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/15.02, allocations: 15.66 kB / 0.9416 GB, free: 135.2 MB / 0.6856 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)