Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001335/0.001335, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001732/0.001732, allocations: 192.1 kB / 16.25 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 222.1 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 292.2 MB / 0.5485 GB, free: 13.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001359, allocations: 69.47 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.277, allocations: 114.6 MB / 0.7828 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6179/0.895, allocations: 173.6 MB / 0.9524 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008976/0.904, allocations: 8.626 MB / 0.9608 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008286/0.9049, allocations: 23.39 kB / 0.9609 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007498/0.9056, allocations: 250.6 kB / 0.9611 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007089/0.9064, allocations: 285.9 kB / 0.9614 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009159/0.9074, allocations: 342 kB / 0.9617 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001333/0.9087, allocations: 1.156 MB / 0.9628 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008961/0.9096, allocations: 0.5569 MB / 0.9634 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004665/0.9143, allocations: 1.995 MB / 0.9653 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004834/0.9148, allocations: 376.5 kB / 0.9657 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.006e-05/0.9149, allocations: 39.34 kB / 0.9657 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.9151, allocations: 77.64 kB / 0.9658 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.9153, allocations: 254.3 kB / 0.966 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.9156, allocations: 287.9 kB / 0.9663 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000618/0.9162, allocations: 0.625 MB / 0.9669 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.9163, allocations: 0 / 0.9669 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9163, allocations: 0 / 0.9669 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.9163, allocations: 0 / 0.9669 GB, free: 5.402 MB / 0.7325 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.001102/0.9174, allocations: 0.8297 MB / 0.9677 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.9174, allocations: 9.625 kB / 0.9677 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.9175, allocations: 68.28 kB / 0.9678 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.918, allocations: 414.4 kB / 0.9682 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.918, allocations: 39.92 kB / 0.9682 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.9181, allocations: 55.48 kB / 0.9683 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008734/0.919, allocations: 0.7006 MB / 0.969 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.919, allocations: 7.297 kB / 0.969 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.9191, allocations: 19.94 kB / 0.969 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.314e-05/0.9191, allocations: 36.39 kB / 0.969 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005806/0.9197, allocations: 382.2 kB / 0.9694 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.9221, allocations: 3.226 MB / 0.9725 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.9223, allocations: 228.5 kB / 0.9728 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.9225, allocations: 130.3 kB / 0.9729 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.9225, allocations: 6.375 kB / 0.9729 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.9226, allocations: 49.08 kB / 0.9729 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.9226, allocations: 1.781 kB / 0.9729 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006771/0.9233, allocations: 245.7 kB / 0.9732 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.9234, allocations: 291.2 kB / 0.9735 GB, free: 17.1 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/0.9242, allocations: 0.6868 MB / 0.9741 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.9242, allocations: 31.42 kB / 0.9742 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.9244, allocations: 265.3 kB / 0.9744 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.9245, allocations: 36.05 kB / 0.9744 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.9245, allocations: 31.48 kB / 0.9745 GB, free: 16.81 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002114/0.9247, allocations: 369.9 kB / 0.9748 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.9248, allocations: 43.34 kB / 0.9749 GB, free: 16.49 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.925, allocations: 91.39 kB / 0.975 GB, free: 16.44 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.9252, allocations: 129 kB / 0.9751 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9252, allocations: 0 / 0.9751 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000312/0.9256, allocations: 188.3 kB / 0.9753 GB, free: 16.33 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.9256, allocations: 8.312 kB / 0.9753 GB, free: 16.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9256, allocations: 1.094 kB / 0.9753 GB, free: 16.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.9256, allocations: 9.641 kB / 0.9753 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.9258, allocations: 41.55 kB / 0.9753 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.9258, allocations: 4.156 kB / 0.9753 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.9261, allocations: 68.25 kB / 0.9754 GB, free: 16.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.9261, allocations: 10.25 kB / 0.9754 GB, free: 16.29 MB / 0.7481 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.0001854/0.9263, allocations: 195.4 kB / 0.9756 GB, free: 16.17 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.9265, allocations: 58.28 kB / 0.9756 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.561e-05/0.9266, allocations: 64.91 kB / 0.9757 GB, free: 16.13 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.9266, allocations: 2.938 kB / 0.9757 GB, free: 16.13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.9266, allocations: 2.906 kB / 0.9757 GB, free: 16.13 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.9266, allocations: 9.875 kB / 0.9757 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.9279, allocations: 1.299 MB / 0.977 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.9279, allocations: 4.188 kB / 0.977 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.9281, allocations: 44.77 kB / 0.977 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.9281, allocations: 3.625 kB / 0.977 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.9281, allocations: 3.469 kB / 0.977 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.9281, allocations: 2.094 kB / 0.977 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.9281, allocations: 11.09 kB / 0.977 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.9285, allocations: 341.6 kB / 0.9774 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.9287, allocations: 148.7 kB / 0.9775 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.9287, allocations: 7.281 kB / 0.9775 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.9289, allocations: 12.27 kB / 0.9775 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.929, allocations: 21.89 kB / 0.9776 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.929, allocations: 8.453 kB / 0.9776 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004978/0.9295, allocations: 0.4913 MB / 0.978 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.9295, allocations: 0 / 0.978 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003741/0.9299, allocations: 81.56 kB / 0.9781 GB, free: 14.68 MB / 0.7481 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.0003108/0.9302, allocations: 143.6 kB / 0.9783 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.9305, allocations: 103.9 kB / 0.9784 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9305, allocations: 0 / 0.9784 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.9307, allocations: 63.14 kB / 0.9784 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.9319, allocations: 287.4 kB / 0.9787 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.9332, allocations: 1.016 MB / 0.9797 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.9337, allocations: 0.9068 MB / 0.9806 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002613/0.9339, allocations: 104.3 kB / 0.9807 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.934, allocations: 39.06 kB / 0.9807 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.934, allocations: 3.938 kB / 0.9807 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.01498/0.949, allocations: 8.32 MB / 0.9888 GB, free: 12.75 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)