Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.PropertySource_T,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_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.001009/0.001009, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009701/0.00097, allocations: 193.4 kB / 16.25 MB, free: 6.625 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.21/1.21, allocations: 222.9 MB / 239.9 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7276/0.7276, allocations: 132.2 MB / 422.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 67.83 kB / 0.5014 GB, free: 8.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1351, allocations: 80.2 MB / 0.5797 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_T): time 0.3888/0.5239, allocations: 191.6 MB / 0.7668 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.534, allocations: 9.963 MB / 0.7765 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006955/0.5347, allocations: 27.81 kB / 0.7765 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008396/0.5356, allocations: 333.9 kB / 0.7768 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.5377, allocations: 0.9452 MB / 0.7778 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.5402, allocations: 1.204 MB / 0.7789 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001597/0.5418, allocations: 1.703 MB / 0.7806 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009117/0.5427, allocations: 0.7886 MB / 0.7814 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/0.5452, allocations: 1.401 MB / 0.7827 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006575/0.5458, allocations: 0.5563 MB / 0.7833 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.353e-05/0.5459, allocations: 67.94 kB / 0.7834 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.548, allocations: 1.465 MB / 0.7848 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.5483, allocations: 351.1 kB / 0.7851 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.5487, allocations: 433.8 kB / 0.7855 GB, free: 268 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.5503, allocations: 1.597 MB / 0.7871 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5504, allocations: 8 kB / 0.7871 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5504, allocations: 0 / 0.7871 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.5504, allocations: 0 / 0.7871 GB, free: 14.65 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.001348/0.5517, allocations: 1.132 MB / 0.7882 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.5518, allocations: 12.03 kB / 0.7882 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.5519, allocations: 130.5 kB / 0.7883 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.5536, allocations: 294.6 kB / 0.7886 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.5543, allocations: 0.5311 MB / 0.7891 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.5544, allocations: 54 kB / 0.7892 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.321e-05/0.5545, allocations: 75.98 kB / 0.7893 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.5558, allocations: 0.8986 MB / 0.7901 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.5558, allocations: 7.938 kB / 0.7901 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/0.5559, allocations: 35.98 kB / 0.7902 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/0.5559, allocations: 37.23 kB / 0.7902 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.557, allocations: 0.5809 MB / 0.7908 GB, free: 10.71 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.003279/0.5602, allocations: 3.497 MB / 0.7942 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.5606, allocations: 223.7 kB / 0.7944 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.5608, allocations: 150.5 kB / 0.7946 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007704/0.5616, allocations: 489.4 kB / 0.795 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.5616, allocations: 38.56 kB / 0.7951 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.5617, allocations: 0 / 0.7951 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001127/0.5628, allocations: 462.8 kB / 0.7955 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.5629, allocations: 102.8 kB / 0.7956 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000925/0.5638, allocations: 0.8645 MB / 0.7964 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.5638, allocations: 33.7 kB / 0.7965 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.5641, allocations: 379.8 kB / 0.7968 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.5642, allocations: 78.83 kB / 0.7969 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.5643, allocations: 61.77 kB / 0.797 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5644, allocations: 318 kB / 0.7973 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.5646, allocations: 99.92 kB / 0.7974 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.5649, allocations: 215 kB / 0.7976 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.5654, allocations: 312.9 kB / 0.7979 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5654, allocations: 0 / 0.7979 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007117/0.5661, allocations: 411 kB / 0.7983 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.5661, allocations: 4 kB / 0.7983 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.5661, allocations: 4 kB / 0.7983 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.5662, allocations: 8.281 kB / 0.7983 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.5665, allocations: 74.28 kB / 0.7984 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.5665, allocations: 4 kB / 0.7984 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.5669, allocations: 83.09 kB / 0.7984 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.567, allocations: 16 kB / 0.7985 GB, free: 2.395 MB / 0.6075 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.0002349/0.5672, allocations: 239.6 kB / 0.7987 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.5673, allocations: 82.97 kB / 0.7988 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005708/0.5679, allocations: 329.8 kB / 0.7991 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5679, allocations: 4 kB / 0.7991 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5679, allocations: 0 / 0.7991 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5679, allocations: 4 kB / 0.7991 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.5698, allocations: 1.361 MB / 0.8004 GB, free: 264 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5698, allocations: 4.531 kB / 0.8004 GB, free: 260 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.57, allocations: 46.73 kB / 0.8005 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.57, allocations: 11.94 kB / 0.8005 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.5701, allocations: 11.98 kB / 0.8005 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.5701, allocations: 11.94 kB / 0.8005 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5701, allocations: 4 kB / 0.8005 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.5707, allocations: 0.5037 MB / 0.801 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.5709, allocations: 192 kB / 0.8012 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.673e-05/0.571, allocations: 11.94 kB / 0.8012 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.5714, allocations: 31.97 kB / 0.8012 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.5715, allocations: 31.86 kB / 0.8012 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.5715, allocations: 8 kB / 0.8013 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006832/0.5722, allocations: 0.6122 MB / 0.8019 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5722, allocations: 0 / 0.8019 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005278/0.5727, allocations: 171.8 kB / 0.802 GB, free: 14.54 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.001098/0.5738, allocations: 1.138 MB / 0.8031 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005406/0.5744, allocations: 260.2 kB / 0.8034 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5744, allocations: 0 / 0.8034 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.5746, allocations: 131.8 kB / 0.8035 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.5764, allocations: 425.2 kB / 0.8039 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007465/0.5838, allocations: 6.479 MB / 0.8102 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.5844, allocations: 0.9878 MB / 0.8112 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006383/0.5851, allocations: 158.2 kB / 0.8113 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.5854, allocations: 283.3 kB / 0.8116 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.5854, allocations: 0 / 0.8116 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03982/0.6252, allocations: 20.36 MB / 0.8315 GB, free: 380 kB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.6254, allocations: 229.6 kB / 0.8317 GB, free: 120 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/2.922, allocations: 7.938 kB / 0.8317 GB, free: 112 kB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_T.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)