Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_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.008859/0.008859, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00243/0.00243, allocations: 194.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.125/2.125, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.206/1.206, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 67.69 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3056, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 1.407/1.712, allocations: 175.8 MB / 0.8309 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03177/1.744, allocations: 12.63 MB / 0.8432 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00348/1.748, allocations: 32.75 kB / 0.8432 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002549/1.751, allocations: 443 kB / 0.8437 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006772/1.757, allocations: 0.9302 MB / 0.8446 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01017/1.768, allocations: 1.815 MB / 0.8463 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008401/1.776, allocations: 2.292 MB / 0.8486 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005955/1.782, allocations: 1.583 MB / 0.8501 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009837/1.792, allocations: 1.376 MB / 0.8515 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004101/1.796, allocations: 0.8045 MB / 0.8522 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001575/1.798, allocations: 160.4 kB / 0.8524 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006998/1.805, allocations: 1.416 MB / 0.8538 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001634/1.806, allocations: 468.9 kB / 0.8542 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001978/1.808, allocations: 0.8 MB / 0.855 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00993/1.818, allocations: 2.638 MB / 0.8576 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.817e-05/1.818, allocations: 0 / 0.8576 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of FrontEnd: time 7.404e-06/1.818, allocations: 7.312 kB / 0.8576 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001935/1.819, allocations: 0 / 0.8576 GB, free: 1.723 MB / 0.6387 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.009384/1.828, allocations: 1.903 MB / 0.8595 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.695e-05/1.828, allocations: 8.5 kB / 0.8595 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004362/1.829, allocations: 198.5 kB / 0.8596 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/1.833, allocations: 404 kB / 0.86 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/1.837, allocations: 1.002 MB / 0.861 GB, free: 272 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/1.837, allocations: 101.3 kB / 0.8611 GB, free: 268 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003101/1.837, allocations: 124.8 kB / 0.8612 GB, free: 268 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004471/1.842, allocations: 1.457 MB / 0.8627 GB, free: 40 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/1.842, allocations: 1.031 kB / 0.8627 GB, free: 40 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/1.842, allocations: 59.78 kB / 0.8627 GB, free: 40 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/1.842, allocations: 31 kB / 0.8627 GB, free: 40 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004106/1.846, allocations: 1.528 MB / 0.8642 GB, free: 24 kB / 0.6387 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.01389/1.86, allocations: 4.877 MB / 0.869 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004607/1.865, allocations: 1.417 MB / 0.8704 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/1.866, allocations: 451.9 kB / 0.8708 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/1.867, allocations: 427.4 kB / 0.8712 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001822/1.869, allocations: 0.6164 MB / 0.8718 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=98): time 4.749e-06/1.869, allocations: 0 / 0.8718 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=98): time 0.006142/1.875, allocations: 1.53 MB / 0.8733 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004548/1.876, allocations: 197.8 kB / 0.8735 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/1.878, allocations: 0.8482 MB / 0.8743 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001962/1.878, allocations: 46.86 kB / 0.8744 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009588/1.879, allocations: 0.5735 MB / 0.8749 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005618/1.88, allocations: 341.6 kB / 0.8753 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004616/1.88, allocations: 178.2 kB / 0.8754 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002295/1.88, allocations: 345.7 kB / 0.8758 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/1.881, allocations: 347.8 kB / 0.8761 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/1.883, allocations: 0.5243 MB / 0.8766 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/1.885, allocations: 0.8764 MB / 0.8775 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/1.886, allocations: 0.875 kB / 0.8775 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004524/1.89, allocations: 1.104 MB / 0.8785 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/1.89, allocations: 7.844 kB / 0.8785 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.89, allocations: 3.188 kB / 0.8785 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009177/1.891, allocations: 85.33 kB / 0.8786 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/1.893, allocations: 230.8 kB / 0.8789 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/1.897, allocations: 1.648 MB / 0.8805 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.898, allocations: 123.9 kB / 0.8806 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/1.899, allocations: 38.45 kB / 0.8806 GB, free: 8.547 MB / 0.6544 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.001286/1.9, allocations: 334.8 kB / 0.8809 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005549/1.9, allocations: 113.5 kB / 0.881 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/1.905, allocations: 1.331 MB / 0.8823 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/1.905, allocations: 11.47 kB / 0.8824 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.905, allocations: 4.969 kB / 0.8824 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-05/1.905, allocations: 5.438 kB / 0.8824 GB, free: 7.754 MB / 0.6544 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.007905/1.913, allocations: 2.697 MB / 0.885 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.913, allocations: 0 / 0.885 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/1.915, allocations: 211.9 kB / 0.8852 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006862/1.916, allocations: 81.09 kB / 0.8853 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.916, allocations: 24.56 kB / 0.8853 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003291/1.919, allocations: 1.675 MB / 0.8869 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.919, allocations: 2.281 kB / 0.8869 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004525/1.924, allocations: 1.228 MB / 0.8881 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.925, allocations: 334.4 kB / 0.8885 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/1.925, allocations: 24.62 kB / 0.8885 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/1.927, allocations: 68.53 kB / 0.8885 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003269/1.927, allocations: 78.92 kB / 0.8886 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.927, allocations: 45.06 kB / 0.8887 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001396/1.929, allocations: 0.5885 MB / 0.8892 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.41e-07/1.929, allocations: 0.9375 kB / 0.8892 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002152/1.931, allocations: 455.5 kB / 0.8897 GB, free: 3.676 MB / 0.6544 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.007221/1.938, allocations: 2.377 MB / 0.892 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004253/1.942, allocations: 1.04 MB / 0.893 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.942, allocations: 10.78 kB / 0.893 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002123/1.945, allocations: 0.6276 MB / 0.8936 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0042/1.949, allocations: 0.5208 MB / 0.8941 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0281/1.977, allocations: 8.499 MB / 0.9024 GB, free: 11.25 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/1.978, allocations: 1.174 MB / 0.9036 GB, free: 10.04 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002571/1.981, allocations: 373.2 kB / 0.9039 GB, free: 9.68 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/1.982, allocations: 0.5305 MB / 0.9045 GB, free: 9.148 MB / 0.67 GB Notification: Performance of SimCode: time 8.52e-07/1.982, allocations: 0 / 0.9045 GB, free: 9.148 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1195/2.102, allocations: 32.5 MB / 0.9362 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.71/23.81, allocations: 11.27 kB / 0.9362 GB, free: 9.137 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)