Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007392/0.0007392, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001785/0.002525, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009373/0.0009373, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008585/0.001796, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9461/0.9461, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08413/1.03, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 240.2 kB / 244.2 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001713/0.003793, allocations: 467 kB / 244.6 MB, free: 14.19 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6824/0.6824, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07191/0.7543, allocations: 42.4 MB / 426.5 MB, free: 5.945 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 427.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.859e-05, allocations: 6.312 kB / 427.8 MB, free: 4.605 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3178/0.3178, allocations: 146.6 MB / 0.5609 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002846/0.3207, allocations: 2.317 MB / 0.5632 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.3209, allocations: 19.81 kB / 0.5632 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.3211, allocations: 91.27 kB / 0.5633 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.3223, allocations: 0.6644 MB / 0.5639 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008944/0.3232, allocations: 0.4967 MB / 0.5644 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0006953/0.3239, allocations: 0.7445 MB / 0.5651 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003663/0.3243, allocations: 235.8 kB / 0.5654 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006309/0.3249, allocations: 412.5 kB / 0.5658 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/0.3255, allocations: 395.7 kB / 0.5661 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.3255, allocations: 28 kB / 0.5662 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006855/0.3262, allocations: 494.6 kB / 0.5666 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.3263, allocations: 103.7 kB / 0.5667 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 9.913e-05/0.3264, allocations: 103.8 kB / 0.5668 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000651/0.3271, allocations: 478.5 kB / 0.5673 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.3271, allocations: 0 / 0.5673 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3271, allocations: 0 / 0.5673 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.3271, allocations: 0 / 0.5673 GB, free: 7.473 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0007345/0.3278, allocations: 0.657 MB / 0.5679 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.3279, allocations: 8.031 kB / 0.5679 GB, free: 6.789 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000785/0.3286, allocations: 261.4 kB / 0.5682 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.329, allocations: 256.6 kB / 0.5684 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.656e-05/0.3291, allocations: 84 kB / 0.5685 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.3291, allocations: 24 kB / 0.5685 GB, free: 6.125 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.3295, allocations: 296.4 kB / 0.5688 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3295, allocations: 4 kB / 0.5688 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.3295, allocations: 9.078 kB / 0.5688 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.3295, allocations: 12 kB / 0.5688 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.3297, allocations: 86.73 kB / 0.5689 GB, free: 5.699 MB / 0.5417 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.001042/0.3307, allocations: 0.8649 MB / 0.5698 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.3309, allocations: 128.5 kB / 0.5699 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.331, allocations: 36.36 kB / 0.5699 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/0.3312, allocations: 75.86 kB / 0.57 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.3313, allocations: 30.56 kB / 0.57 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.3313, allocations: 0 / 0.57 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0003457/0.3316, allocations: 132.2 kB / 0.5702 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.3316, allocations: 59.34 kB / 0.5702 GB, free: 4.316 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.3318, allocations: 225 kB / 0.5704 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.3318, allocations: 33.7 kB / 0.5705 GB, free: 4.047 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/0.3319, allocations: 168.9 kB / 0.5706 GB, free: 3.879 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.3319, allocations: 59.52 kB / 0.5707 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.332, allocations: 41.69 kB / 0.5707 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.3321, allocations: 334.8 kB / 0.571 GB, free: 3.438 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.157e-05/0.3321, allocations: 22.75 kB / 0.5711 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.3322, allocations: 153.3 kB / 0.5712 GB, free: 3.227 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.3323, allocations: 101.2 kB / 0.5713 GB, free: 3.105 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3323, allocations: 2.125 kB / 0.5713 GB, free: 3.105 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002124/0.3325, allocations: 132.4 kB / 0.5714 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3326, allocations: 4 kB / 0.5714 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3326, allocations: 4 kB / 0.5714 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.3326, allocations: 0 / 0.5714 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.3327, allocations: 43.92 kB / 0.5715 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3327, allocations: 11.92 kB / 0.5715 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.945e-05/0.3328, allocations: 19.84 kB / 0.5715 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.3328, allocations: 8 kB / 0.5715 GB, free: 2.879 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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 9.059e-05/0.3329, allocations: 124.7 kB / 0.5716 GB, free: 2.746 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.333, allocations: 31.94 kB / 0.5717 GB, free: 2.715 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.3333, allocations: 126.6 kB / 0.5718 GB, free: 2.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3333, allocations: 8.891 kB / 0.5718 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3333, allocations: 3.938 kB / 0.5718 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3333, allocations: 2.625 kB / 0.5718 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.3338, allocations: 0.5116 MB / 0.5723 GB, free: 2.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3338, allocations: 3.938 kB / 0.5723 GB, free: 2.008 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.3339, allocations: 32.2 kB / 0.5723 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.334, allocations: 43.77 kB / 0.5724 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.334, allocations: 4 kB / 0.5724 GB, free: 1.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.334, allocations: 4 kB / 0.5724 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.334, allocations: 0 / 0.5724 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.334, allocations: 7.938 kB / 0.5724 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.3343, allocations: 291.9 kB / 0.5727 GB, free: 1.586 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.3343, allocations: 9.547 kB / 0.5727 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.3344, allocations: 15.92 kB / 0.5727 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.3344, allocations: 11.98 kB / 0.5727 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.3345, allocations: 15.98 kB / 0.5727 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.943e-05/0.3345, allocations: 74.77 kB / 0.5728 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.3345, allocations: 0 / 0.5728 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003815/0.3349, allocations: 111.7 kB / 0.5729 GB, free: 1.355 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0003122/0.3352, allocations: 164 kB / 0.5731 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.3354, allocations: 78.8 kB / 0.5731 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.3354, allocations: 4 kB / 0.5731 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/0.3355, allocations: 40.78 kB / 0.5732 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.3359, allocations: 136.2 kB / 0.5733 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.3387, allocations: 0.5667 MB / 0.5739 GB, free: 336 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.345e-05/0.3387, allocations: 103 kB / 0.574 GB, free: 216 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001564/0.3389, allocations: 40.41 kB / 0.574 GB, free: 180 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.3391, allocations: 131.2 kB / 0.5741 GB, free: 48 kB / 0.5417 GB Notification: Performance of SimCode: time 6.81e-07/0.3391, allocations: 4 kB / 0.5741 GB, free: 44 kB / 0.5417 GB Notification: Performance of Templates: time 0.009488/0.3486, allocations: 5.901 MB / 0.5799 GB, free: 10.4 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.746771310456097]