Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.14 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3496, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.8861/1.236, allocations: 198 MB / 1.262 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01565/1.251, allocations: 10.91 MB / 1.272 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/1.254, allocations: 44.62 kB / 1.272 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001777/1.256, allocations: 0.5323 MB / 1.273 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007082/1.263, allocations: 1.786 MB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005253/1.268, allocations: 1.162 MB / 1.276 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005322/1.274, allocations: 2.777 MB / 1.278 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004478/1.278, allocations: 1.209 MB / 1.28 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009893/1.288, allocations: 1.609 MB / 1.281 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003461/1.291, allocations: 0.9605 MB / 1.282 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009851/1.292, allocations: 124.8 kB / 1.282 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006513/1.299, allocations: 1.719 MB / 1.284 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001691/1.301, allocations: 0.5192 MB / 1.284 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00343/1.304, allocations: 0.7088 MB / 1.285 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007557/1.312, allocations: 2.321 MB / 1.287 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.312, allocations: 2.281 kB / 1.287 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.168e-06/1.312, allocations: 0 / 1.287 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001206/1.312, allocations: 4.781 kB / 1.287 GB, free: 5.176 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.006735/1.319, allocations: 1.693 MB / 1.289 GB, free: 20.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.319, allocations: 11.38 kB / 1.289 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002782/1.322, allocations: 328.3 kB / 1.289 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/1.324, allocations: 0.8663 MB / 1.29 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/1.324, allocations: 75.31 kB / 1.29 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000386/1.325, allocations: 105.3 kB / 1.29 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/1.328, allocations: 1.174 MB / 1.291 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/1.328, allocations: 7.922 kB / 1.291 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/1.328, allocations: 41.47 kB / 1.291 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-05/1.328, allocations: 36.94 kB / 1.292 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/1.33, allocations: 0.9428 MB / 1.292 GB, free: 19.71 MB / 1.014 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.007879/1.338, allocations: 4.746 MB / 1.297 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/1.339, allocations: 0.7231 MB / 1.298 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007033/1.34, allocations: 393.7 kB / 1.298 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007036/1.341, allocations: 318.5 kB / 1.298 GB, free: 16.72 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/1.341, allocations: 40.53 kB / 1.298 GB, free: 16.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 3.907e-06/1.341, allocations: 1.125 kB / 1.298 GB, free: 16.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.002526/1.343, allocations: 1.007 MB / 1.299 GB, free: 16.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/1.344, allocations: 63.62 kB / 1.3 GB, free: 16.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/1.345, allocations: 0.7896 MB / 1.3 GB, free: 16.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/1.345, allocations: 44.3 kB / 1.3 GB, free: 16.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/1.346, allocations: 0.5371 MB / 1.301 GB, free: 16.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/1.346, allocations: 242.8 kB / 1.301 GB, free: 15.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/1.346, allocations: 147.4 kB / 1.301 GB, free: 15.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.346, allocations: 340 kB / 1.302 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005807/1.347, allocations: 300.6 kB / 1.302 GB, free: 15.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/1.348, allocations: 0.4928 MB / 1.302 GB, free: 15.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/1.349, allocations: 0.7906 MB / 1.303 GB, free: 15.22 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/1.349, allocations: 1.438 kB / 1.303 GB, free: 15.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001766/1.351, allocations: 0.9092 MB / 1.304 GB, free: 15.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.351, allocations: 8.312 kB / 1.304 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/1.351, allocations: 4.094 kB / 1.304 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/1.351, allocations: 13.59 kB / 1.304 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009286/1.352, allocations: 186.6 kB / 1.304 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004319/1.352, allocations: 0.6044 MB / 1.305 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/1.353, allocations: 84.48 kB / 1.305 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/1.354, allocations: 30.94 kB / 1.305 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001135/1.355, allocations: 0.545 MB / 1.305 GB, free: 14.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007162/1.355, allocations: 0.4973 MB / 1.306 GB, free: 14.19 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001288/1.357, allocations: 0.7838 MB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.705e-06/1.357, allocations: 1.25 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001825/1.359, allocations: 0.9134 MB / 1.308 GB, free: 13.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.359, allocations: 8.219 kB / 1.308 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.359, allocations: 4.906 kB / 1.308 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.359, allocations: 9.469 kB / 1.308 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/1.359, allocations: 170.7 kB / 1.308 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/1.359, allocations: 15.16 kB / 1.308 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009935/1.36, allocations: 66.77 kB / 1.308 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.729e-05/1.36, allocations: 31.98 kB / 1.308 GB, free: 13.88 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003241/1.361, allocations: 238.4 kB / 1.308 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/1.361, allocations: 104.2 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/1.363, allocations: 0.7919 MB / 1.309 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/1.363, allocations: 6.406 kB / 1.309 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.363, allocations: 2.938 kB / 1.309 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/1.364, allocations: 0.8712 MB / 1.31 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004592/1.369, allocations: 2.146 MB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.369, allocations: 5.656 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007489/1.369, allocations: 148.8 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/1.369, allocations: 6.625 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/1.369, allocations: 24.83 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003346/1.37, allocations: 0.5969 MB / 1.313 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.37, allocations: 2.344 kB / 1.313 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/1.372, allocations: 1.283 MB / 1.314 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000551/1.372, allocations: 256.4 kB / 1.314 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/1.373, allocations: 18.69 kB / 1.314 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/1.373, allocations: 26.42 kB / 1.314 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/1.373, allocations: 48.47 kB / 1.314 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/1.373, allocations: 26.44 kB / 1.314 GB, free: 11.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008934/1.374, allocations: 0.5432 MB / 1.315 GB, free: 11.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.374, allocations: 0 / 1.315 GB, free: 11.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002187/1.376, allocations: 0.5653 MB / 1.315 GB, free: 11.48 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007682/1.377, allocations: 242.5 kB / 1.316 GB, free: 11.37 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003033/1.38, allocations: 1.29 MB / 1.317 GB, free: 11.35 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/1.38, allocations: 3.438 kB / 1.317 GB, free: 11.35 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007259/1.381, allocations: 366 kB / 1.317 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/1.384, allocations: 495.7 kB / 1.318 GB, free: 11.28 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/1.388, allocations: 2.277 MB / 1.32 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.389, allocations: 1.176 MB / 1.321 GB, free: 9.551 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001466/1.391, allocations: 357.7 kB / 1.321 GB, free: 9.496 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/1.391, allocations: 77.47 kB / 1.321 GB, free: 9.492 MB / 1.014 GB Notification: Performance of SimCode: time 9.92e-07/1.391, allocations: 0 / 1.321 GB, free: 9.492 MB / 1.014 GB Notification: Performance of Templates: time 0.03476/1.426, allocations: 17.46 MB / 1.339 GB, free: 6.52 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)