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.0008713/0.0008713, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005228/0.005228, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.192/1.192, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9947/0.9947, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 8 kB / 0.5077 GB, free: 4.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 82.31 MB / 0.5881 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_T): time 0.4678/0.6199, allocations: 189.3 MB / 0.7729 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.6313, allocations: 9.914 MB / 0.7826 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008405/0.6322, allocations: 23.81 kB / 0.7826 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008878/0.6331, allocations: 305.9 kB / 0.7829 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002765/0.6359, allocations: 0.9725 MB / 0.7839 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.6389, allocations: 1.201 MB / 0.7851 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002992/0.6419, allocations: 2.339 MB / 0.7873 GB, free: 200 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.643, allocations: 0.7067 MB / 0.788 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/0.646, allocations: 1.288 MB / 0.7893 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000624/0.6466, allocations: 0.525 MB / 0.7898 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.081e-05/0.6467, allocations: 32 kB / 0.7898 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.6494, allocations: 1.656 MB / 0.7914 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.6497, allocations: 315.1 kB / 0.7918 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.6501, allocations: 419.5 kB / 0.7922 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.6519, allocations: 1.55 MB / 0.7937 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6519, allocations: 0 / 0.7937 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6519, allocations: 0 / 0.7937 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.6519, allocations: 0 / 0.7937 GB, free: 9.672 MB / 0.6075 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.001375/0.6533, allocations: 0.992 MB / 0.7946 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.6533, allocations: 12.03 kB / 0.7946 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.6535, allocations: 126.2 kB / 0.7948 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.6552, allocations: 294.5 kB / 0.795 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007561/0.656, allocations: 0.5311 MB / 0.7956 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.6561, allocations: 62 kB / 0.7956 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.803e-05/0.6562, allocations: 72 kB / 0.7957 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.6575, allocations: 0.8987 MB / 0.7966 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.6575, allocations: 7.875 kB / 0.7966 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/0.6576, allocations: 28 kB / 0.7966 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.709e-05/0.6577, allocations: 45.3 kB / 0.7966 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009948/0.6587, allocations: 0.5904 MB / 0.7972 GB, free: 5.879 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.003468/0.6621, allocations: 3.509 MB / 0.8006 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.6625, allocations: 227.7 kB / 0.8009 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.6628, allocations: 152.5 kB / 0.801 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008447/0.6637, allocations: 0.4897 MB / 0.8015 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.6637, allocations: 34.56 kB / 0.8015 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 3.086e-06/0.6637, allocations: 0 / 0.8015 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001237/0.665, allocations: 476.9 kB / 0.802 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.665, allocations: 106.8 kB / 0.8021 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.666, allocations: 0.8722 MB / 0.8029 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.6661, allocations: 29.7 kB / 0.803 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.6664, allocations: 383.8 kB / 0.8033 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.6664, allocations: 74.94 kB / 0.8034 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.6665, allocations: 29.7 kB / 0.8034 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.6666, allocations: 322 kB / 0.8037 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.6668, allocations: 99.92 kB / 0.8038 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.6672, allocations: 220.6 kB / 0.804 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.6677, allocations: 325.4 kB / 0.8043 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6677, allocations: 3.938 kB / 0.8044 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000713/0.6684, allocations: 408.2 kB / 0.8047 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.6684, allocations: 10.19 kB / 0.8048 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.6685, allocations: 11.06 kB / 0.8048 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6685, allocations: 4 kB / 0.8048 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.6688, allocations: 68.25 kB / 0.8048 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.6688, allocations: 4 kB / 0.8048 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.6693, allocations: 91.09 kB / 0.8049 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.6694, allocations: 12 kB / 0.8049 GB, free: 13.51 MB / 0.6231 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.0002866/0.6697, allocations: 241.6 kB / 0.8052 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.6698, allocations: 78.97 kB / 0.8052 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006877/0.6705, allocations: 335.3 kB / 0.8056 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6705, allocations: 4.875 kB / 0.8056 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.6706, allocations: 7.984 kB / 0.8056 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6706, allocations: 0 / 0.8056 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.6726, allocations: 1.369 MB / 0.8069 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.6726, allocations: 4 kB / 0.8069 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.6728, allocations: 47.91 kB / 0.807 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.712e-05/0.6728, allocations: 11.97 kB / 0.807 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.6728, allocations: 12 kB / 0.807 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/0.6729, allocations: 19.86 kB / 0.807 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.6729, allocations: 4 kB / 0.807 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006766/0.6736, allocations: 0.5154 MB / 0.8075 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.6738, allocations: 200 kB / 0.8077 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.493e-05/0.6739, allocations: 15.88 kB / 0.8077 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.6743, allocations: 31.97 kB / 0.8077 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.6743, allocations: 27.86 kB / 0.8078 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.6744, allocations: 12 kB / 0.8078 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007216/0.6751, allocations: 0.6083 MB / 0.8084 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6751, allocations: 4 kB / 0.8084 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005718/0.6757, allocations: 163.8 kB / 0.8085 GB, free: 9.617 MB / 0.6231 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.001164/0.6769, allocations: 1.142 MB / 0.8097 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005391/0.6774, allocations: 271.5 kB / 0.8099 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6774, allocations: 0 / 0.8099 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.6777, allocations: 137.2 kB / 0.81 GB, free: 8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.68, allocations: 410.2 kB / 0.8104 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007855/0.6879, allocations: 6.522 MB / 0.8168 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.6885, allocations: 0.992 MB / 0.8178 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005591/0.689, allocations: 157.6 kB / 0.8179 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.6894, allocations: 271.4 kB / 0.8182 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of SimCode: time 3.61e-07/0.6894, allocations: 0 / 0.8182 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5591/1.248, allocations: 19.65 MB / 0.8374 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/1.249, allocations: 229.8 kB / 0.8376 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3.792, allocations: 0 / 0.8376 GB, free: 11.8 MB / 0.6544 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)