Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.005403/0.005403, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001343/0.001343, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002583/0.002583, allocations: 282.6 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9825/0.9825, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 95.41 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1711, allocations: 86.97 MB / 0.7659 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.528/0.6991, allocations: 171 MB / 0.9329 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007138/0.7063, allocations: 4.293 MB / 0.9371 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007355/0.7071, allocations: 23.88 kB / 0.9371 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.7082, allocations: 350 kB / 0.9374 GB, free: 3.484 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00251/0.7107, allocations: 0.9915 MB / 0.9384 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.7128, allocations: 0.8115 MB / 0.9392 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.7145, allocations: 1.305 MB / 0.9404 GB, free: 384 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006743/0.7152, allocations: 479.3 kB / 0.9409 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.7164, allocations: 0.6727 MB / 0.9416 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009674/0.7174, allocations: 459.8 kB / 0.942 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 8.701e-05/0.7175, allocations: 52 kB / 0.942 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.719, allocations: 0.9043 MB / 0.9429 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.7193, allocations: 207.5 kB / 0.9431 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003373/0.7196, allocations: 334.5 kB / 0.9434 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.7212, allocations: 1.139 MB / 0.9446 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7212, allocations: 0 / 0.9446 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7212, allocations: 0 / 0.9446 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.7212, allocations: 4 kB / 0.9446 GB, free: 12.15 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001622/0.7228, allocations: 0.965 MB / 0.9455 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.7229, allocations: 11.97 kB / 0.9455 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.723, allocations: 90.45 kB / 0.9456 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.7245, allocations: 267.3 kB / 0.9459 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008175/0.7254, allocations: 0.4946 MB / 0.9463 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.7254, allocations: 29 kB / 0.9464 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.7255, allocations: 47.92 kB / 0.9464 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.7267, allocations: 0.6146 MB / 0.947 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.7267, allocations: 4 kB / 0.947 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/0.7268, allocations: 16 kB / 0.947 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/0.7268, allocations: 32.86 kB / 0.9471 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.7282, allocations: 0.5386 MB / 0.9476 GB, free: 8.926 MB / 0.7012 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.003817/0.732, allocations: 2.269 MB / 0.9498 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009075/0.733, allocations: 282.3 kB / 0.9501 GB, free: 6.242 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/0.7335, allocations: 164.7 kB / 0.9502 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.7335, allocations: 11.92 kB / 0.9502 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.7336, allocations: 38.56 kB / 0.9503 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=11): time 1.472e-06/0.7336, allocations: 0 / 0.9503 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.004918/0.7385, allocations: 1.081 MB / 0.9513 GB, free: 4.91 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.7386, allocations: 81.11 kB / 0.9514 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.7393, allocations: 0.5573 MB / 0.952 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.7394, allocations: 25.92 kB / 0.952 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.7396, allocations: 304.1 kB / 0.9523 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.7397, allocations: 55.58 kB / 0.9523 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.7398, allocations: 61.66 kB / 0.9524 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.74, allocations: 354.8 kB / 0.9527 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005904/0.7406, allocations: 187.8 kB / 0.9529 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006713/0.7412, allocations: 269.7 kB / 0.9532 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.7424, allocations: 406.7 kB / 0.9535 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7424, allocations: 0 / 0.9535 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002557/0.745, allocations: 0.7319 MB / 0.9543 GB, free: 1.793 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.745, allocations: 10.03 kB / 0.9543 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.745, allocations: 0 / 0.9543 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006143/0.7456, allocations: 184.8 kB / 0.9544 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.746, allocations: 67.88 kB / 0.9545 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004001/0.75, allocations: 2.243 MB / 0.9567 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005879/0.7506, allocations: 79.58 kB / 0.9568 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.7506, allocations: 15.55 kB / 0.9568 GB, free: 15.07 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002904/0.7509, allocations: 194.3 kB / 0.957 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.751, allocations: 47.72 kB / 0.957 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.7512, allocations: 55.97 kB / 0.9571 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7512, allocations: 4 kB / 0.9571 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.7512, allocations: 4 kB / 0.9571 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.7512, allocations: 0 / 0.9571 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.7542, allocations: 1.129 MB / 0.9582 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.7542, allocations: 0 / 0.9582 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.7545, allocations: 43.83 kB / 0.9582 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005388/0.755, allocations: 188.7 kB / 0.9584 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.7551, allocations: 4 kB / 0.9584 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003816/0.7589, allocations: 2.184 MB / 0.9605 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7589, allocations: 0 / 0.9605 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.7614, allocations: 0.7043 MB / 0.9612 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.7616, allocations: 168.7 kB / 0.9614 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.199e-05/0.7617, allocations: 8 kB / 0.9614 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005402/0.7622, allocations: 51.88 kB / 0.9615 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.7623, allocations: 11.98 kB / 0.9615 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.7624, allocations: 11.98 kB / 0.9615 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004769/0.7628, allocations: 390.8 kB / 0.9618 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7628, allocations: 3.938 kB / 0.9619 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00061/0.7635, allocations: 187.7 kB / 0.962 GB, free: 9.453 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003059/0.7665, allocations: 1.315 MB / 0.9633 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.7682, allocations: 0.5258 MB / 0.9638 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.7682, allocations: 11.94 kB / 0.9638 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007355/0.7689, allocations: 303 kB / 0.9641 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.7704, allocations: 305.5 kB / 0.9644 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.7817, allocations: 5.084 MB / 0.9694 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.7823, allocations: 0.8582 MB / 0.9702 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004256/0.7827, allocations: 104.5 kB / 0.9703 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.7829, allocations: 155.4 kB / 0.9705 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.7829, allocations: 0 / 0.9705 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04872/0.8317, allocations: 16.93 MB / 0.987 GB, free: 56 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.38, allocations: 10.78 kB / 0.987 GB, free: 48 kB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)