Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.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: translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 102.8 kB / 16.35 MB, free: 5.879 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.001204/0.001204, allocations: 195.6 kB / 17.3 MB, free: 5.52 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7881/0.7881, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 60.09 kB / 0.5067 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3587, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5239/0.8827, allocations: 176 MB / 0.7576 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01087/0.8936, allocations: 8.71 MB / 0.7661 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.8947, allocations: 26.27 kB / 0.7661 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008985/0.8956, allocations: 298.4 kB / 0.7664 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008738/0.8966, allocations: 310.1 kB / 0.7667 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.8978, allocations: 375.2 kB / 0.7671 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.8996, allocations: 1.151 MB / 0.7682 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.9006, allocations: 0.5894 MB / 0.7688 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005453/0.9061, allocations: 2.064 MB / 0.7708 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005635/0.9067, allocations: 352.3 kB / 0.7711 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.9067, allocations: 40.22 kB / 0.7712 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.907, allocations: 77.48 kB / 0.7712 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.9072, allocations: 262.4 kB / 0.7715 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.9075, allocations: 284.6 kB / 0.7718 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009149/0.9084, allocations: 0.6397 MB / 0.7724 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9085, allocations: 1.438 kB / 0.7724 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9085, allocations: 0.625 kB / 0.7724 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.9085, allocations: 0.9062 kB / 0.7724 GB, free: 1.449 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001258/0.9097, allocations: 0.8254 MB / 0.7732 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.9098, allocations: 11.58 kB / 0.7732 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.9099, allocations: 69.34 kB / 0.7733 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007034/0.9106, allocations: 443.6 kB / 0.7737 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.9107, allocations: 43.67 kB / 0.7737 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.9107, allocations: 54.59 kB / 0.7738 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/0.9116, allocations: 0.699 MB / 0.7745 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.9116, allocations: 3.188 kB / 0.7745 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/0.9117, allocations: 26.27 kB / 0.7745 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.811e-05/0.9118, allocations: 40.03 kB / 0.7745 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.9123, allocations: 374 kB / 0.7749 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00276/0.9151, allocations: 3.21 MB / 0.778 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.9153, allocations: 224.1 kB / 0.7782 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.9155, allocations: 129.8 kB / 0.7784 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.9156, allocations: 8.188 kB / 0.7784 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.9156, allocations: 45.58 kB / 0.7784 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.9156, allocations: 1.031 kB / 0.7784 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007051/0.9163, allocations: 251.9 kB / 0.7787 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.9165, allocations: 297.2 kB / 0.7789 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007081/0.9172, allocations: 0.6845 MB / 0.7796 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.9172, allocations: 29.08 kB / 0.7796 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.9174, allocations: 267.5 kB / 0.7799 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.9174, allocations: 36.08 kB / 0.7799 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.9175, allocations: 26.77 kB / 0.7799 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.9177, allocations: 369.7 kB / 0.7803 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.973e-05/0.9178, allocations: 39.77 kB / 0.7803 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.9179, allocations: 100.2 kB / 0.7804 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.9182, allocations: 125 kB / 0.7806 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9182, allocations: 0 / 0.7806 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003053/0.9185, allocations: 191.3 kB / 0.7807 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.9185, allocations: 6.906 kB / 0.7807 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.9185, allocations: 6.5 kB / 0.7807 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.9185, allocations: 2.344 kB / 0.7807 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.9187, allocations: 40.02 kB / 0.7808 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.9188, allocations: 6.656 kB / 0.7808 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.919, allocations: 55.89 kB / 0.7808 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.919, allocations: 7.719 kB / 0.7809 GB, free: 12.43 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0001951/0.9192, allocations: 200.6 kB / 0.781 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.9194, allocations: 60.19 kB / 0.7811 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/0.9195, allocations: 67.78 kB / 0.7812 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.9195, allocations: 7.609 kB / 0.7812 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.9196, allocations: 3.969 kB / 0.7812 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.9196, allocations: 0 / 0.7812 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.9209, allocations: 1.302 MB / 0.7824 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.9209, allocations: 5.344 kB / 0.7825 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.9211, allocations: 41.94 kB / 0.7825 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.9211, allocations: 6.062 kB / 0.7825 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.9211, allocations: 4.781 kB / 0.7825 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.9211, allocations: 4.594 kB / 0.7825 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.9212, allocations: 2.688 kB / 0.7825 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.9215, allocations: 339.2 kB / 0.7828 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.9217, allocations: 153 kB / 0.783 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.9218, allocations: 6.375 kB / 0.783 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.9219, allocations: 13.8 kB / 0.783 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.922, allocations: 19.17 kB / 0.783 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.922, allocations: 6.062 kB / 0.783 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004682/0.9225, allocations: 0.4947 MB / 0.7835 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9225, allocations: 0 / 0.7835 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004006/0.9229, allocations: 75.47 kB / 0.7836 GB, free: 10.84 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0003084/0.9232, allocations: 139.4 kB / 0.7837 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.9235, allocations: 113.9 kB / 0.7838 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9235, allocations: 1.094 kB / 0.7838 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.9236, allocations: 58.33 kB / 0.7839 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.9248, allocations: 284 kB / 0.7841 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.926, allocations: 0.8586 MB / 0.785 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.9265, allocations: 0.9111 MB / 0.7859 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002798/0.9268, allocations: 109.2 kB / 0.786 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.9269, allocations: 34.06 kB / 0.786 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of SimCode: time 7.02e-07/0.9269, allocations: 0.5312 kB / 0.786 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of Templates: time 0.01443/0.9413, allocations: 8.415 MB / 0.7942 GB, free: 9.211 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)