Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.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.PropertySource_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T",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.007403/0.007403, allocations: 99.8 kB / 15.73 MB, free: 6.039 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.001743/0.001743, allocations: 202.5 kB / 16.68 MB, free: 5.965 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.885/0.885, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 72.08 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3844, allocations: 80.92 MB / 0.6642 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_T): time 0.1958/0.5802, allocations: 194.1 MB / 0.8537 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.5922, allocations: 10.06 MB / 0.8635 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009085/0.5931, allocations: 27.81 kB / 0.8636 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009641/0.5941, allocations: 397 kB / 0.8639 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.5968, allocations: 1.077 MB / 0.865 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.5998, allocations: 1.311 MB / 0.8663 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002431/0.6023, allocations: 1.706 MB / 0.8679 GB, free: 300 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3886/0.9908, allocations: 0.8225 MB / 0.8687 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.9945, allocations: 1.456 MB / 0.8702 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.9955, allocations: 0.5314 MB / 0.8707 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.9957, allocations: 63.78 kB / 0.8707 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.9985, allocations: 1.414 MB / 0.8721 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005847/0.9991, allocations: 351.5 kB / 0.8724 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000735/0.9999, allocations: 434 kB / 0.8729 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/1.003, allocations: 1.528 MB / 0.8744 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.003, allocations: 1.797 kB / 0.8744 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.714e-06/1.003, allocations: 1.469 kB / 0.8744 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.108e-05/1.003, allocations: 0 / 0.8744 GB, free: 3.258 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001875/1.005, allocations: 1.171 MB / 0.8755 GB, free: 18.56 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.005, allocations: 9.406 kB / 0.8755 GB, free: 18.56 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/1.005, allocations: 121.5 kB / 0.8756 GB, free: 18.52 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/1.007, allocations: 304.7 kB / 0.8759 GB, free: 18.47 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/1.008, allocations: 0.5714 MB / 0.8765 GB, free: 18.2 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/1.008, allocations: 54.55 kB / 0.8765 GB, free: 18.2 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/1.008, allocations: 78.12 kB / 0.8766 GB, free: 18.2 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/1.01, allocations: 0.8997 MB / 0.8775 GB, free: 18 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/1.01, allocations: 1.531 kB / 0.8775 GB, free: 18 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/1.01, allocations: 32.33 kB / 0.8775 GB, free: 18 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.772e-05/1.01, allocations: 47.67 kB / 0.8776 GB, free: 18 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/1.011, allocations: 0.572 MB / 0.8781 GB, free: 18 MB / 0.7012 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.004263/1.015, allocations: 3.494 MB / 0.8815 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/1.016, allocations: 232.6 kB / 0.8818 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/1.016, allocations: 145.3 kB / 0.8819 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007988/1.017, allocations: 488.4 kB / 0.8824 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/1.017, allocations: 42.16 kB / 0.8824 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=21): time 2.785e-06/1.017, allocations: 0 / 0.8824 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of matching and sorting (n=21): time 0.001362/1.018, allocations: 458.5 kB / 0.8828 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/1.018, allocations: 107.1 kB / 0.8829 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/1.019, allocations: 0.8672 MB / 0.8838 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/1.019, allocations: 34.8 kB / 0.8838 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/1.02, allocations: 388.8 kB / 0.8842 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/1.02, allocations: 76.72 kB / 0.8843 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/1.02, allocations: 63.83 kB / 0.8843 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.02, allocations: 318.4 kB / 0.8846 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/1.02, allocations: 99.7 kB / 0.8847 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/1.021, allocations: 216.4 kB / 0.8849 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/1.021, allocations: 307.4 kB / 0.8852 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.021, allocations: 3.594 kB / 0.8852 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007294/1.022, allocations: 411.2 kB / 0.8856 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.022, allocations: 7.656 kB / 0.8856 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.022, allocations: 3.406 kB / 0.8856 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.022, allocations: 4.031 kB / 0.8856 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/1.022, allocations: 62.8 kB / 0.8857 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/1.022, allocations: 6.906 kB / 0.8857 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/1.023, allocations: 76.8 kB / 0.8858 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/1.023, allocations: 17.72 kB / 0.8858 GB, free: 14 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003127/1.023, allocations: 237.8 kB / 0.886 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/1.023, allocations: 90.92 kB / 0.8861 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006718/1.024, allocations: 323.1 kB / 0.8864 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.024, allocations: 3.594 kB / 0.8864 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.024, allocations: 1.688 kB / 0.8864 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.024, allocations: 3.453 kB / 0.8864 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/1.026, allocations: 1.368 MB / 0.8878 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.026, allocations: 3.625 kB / 0.8878 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/1.026, allocations: 46.61 kB / 0.8878 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/1.026, allocations: 5.812 kB / 0.8878 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/1.026, allocations: 10.22 kB / 0.8878 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/1.027, allocations: 11.62 kB / 0.8878 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.027, allocations: 5.172 kB / 0.8878 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006376/1.027, allocations: 0.5192 MB / 0.8883 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/1.027, allocations: 194.5 kB / 0.8885 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.452e-05/1.028, allocations: 9.234 kB / 0.8885 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/1.028, allocations: 16.36 kB / 0.8885 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/1.028, allocations: 29.72 kB / 0.8886 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/1.028, allocations: 13.09 kB / 0.8886 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008029/1.029, allocations: 0.6092 MB / 0.8892 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.71e-07/1.029, allocations: 1.625 kB / 0.8892 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007278/1.03, allocations: 158.8 kB / 0.8893 GB, free: 12.62 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001308/1.031, allocations: 1.153 MB / 0.8905 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005856/1.031, allocations: 262 kB / 0.8907 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.031, allocations: 1.938 kB / 0.8907 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/1.032, allocations: 132.7 kB / 0.8908 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/1.034, allocations: 423.3 kB / 0.8912 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008081/1.042, allocations: 6 MB / 0.8971 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006238/1.042, allocations: 0.9932 MB / 0.8981 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007125/1.043, allocations: 162.6 kB / 0.8982 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/1.043, allocations: 271.2 kB / 0.8985 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of SimCode: time 8.61e-07/1.043, allocations: 2.172 kB / 0.8985 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05008/1.094, allocations: 20.75 MB / 0.9188 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.751/9.844, allocations: 12.7 kB / 0.9188 GB, free: 6.477 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)