Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.005061/0.005061, allocations: 100.3 kB / 15.73 MB, free: 6.477 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.001144/0.001144, allocations: 192.5 kB / 16.67 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002138/0.002138, allocations: 286.6 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9345/0.9345, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 91.86 kB / 0.6809 GB, free: 44 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1594, allocations: 86.98 MB / 0.7659 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5303/0.6897, allocations: 171.1 MB / 0.9329 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006415/0.6961, allocations: 4.294 MB / 0.9371 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007662/0.6969, allocations: 23.88 kB / 0.9371 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.6982, allocations: 349.9 kB / 0.9375 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.7013, allocations: 1.229 MB / 0.9387 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.7035, allocations: 0.7864 MB / 0.9394 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002349/0.7058, allocations: 1.691 MB / 0.9411 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000996/0.7069, allocations: 0.562 MB / 0.9416 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.7084, allocations: 0.6966 MB / 0.9423 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.7099, allocations: 0.5533 MB / 0.9429 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.7101, allocations: 64 kB / 0.9429 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.7121, allocations: 0.799 MB / 0.9437 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004914/0.7126, allocations: 275.2 kB / 0.944 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009095/0.7136, allocations: 410.3 kB / 0.9444 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.7161, allocations: 1.266 MB / 0.9456 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7161, allocations: 0 / 0.9456 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7161, allocations: 0 / 0.9456 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.323e-05/0.7161, allocations: 4 kB / 0.9456 GB, free: 11.11 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002279/0.7184, allocations: 1.037 MB / 0.9466 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.7185, allocations: 11.97 kB / 0.9466 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.7187, allocations: 98.52 kB / 0.9467 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.7199, allocations: 167 kB / 0.9469 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009259/0.7208, allocations: 0.5444 MB / 0.9474 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.7208, allocations: 38 kB / 0.9475 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.7209, allocations: 56 kB / 0.9475 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.7221, allocations: 0.6401 MB / 0.9481 GB, free: 8.422 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.7221, allocations: 0 / 0.9481 GB, free: 8.422 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.709e-05/0.7222, allocations: 28 kB / 0.9482 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/0.7223, allocations: 21.31 kB / 0.9482 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00097/0.7232, allocations: 0.5164 MB / 0.9487 GB, free: 7.855 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.003535/0.7268, allocations: 2.293 MB / 0.9509 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.7273, allocations: 257.1 kB / 0.9512 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.7276, allocations: 132.8 kB / 0.9513 GB, free: 5 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.7276, allocations: 7.938 kB / 0.9513 GB, free: 4.992 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.7276, allocations: 38.56 kB / 0.9513 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=20): time 4.068e-06/0.7277, allocations: 0 / 0.9513 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20): time 0.001682/0.7293, allocations: 0.6788 MB / 0.952 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.7294, allocations: 77.11 kB / 0.9521 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006651/0.7301, allocations: 0.5574 MB / 0.9526 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.7301, allocations: 33.7 kB / 0.9526 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.7304, allocations: 327.1 kB / 0.953 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.7305, allocations: 82.92 kB / 0.953 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.7306, allocations: 69.94 kB / 0.9531 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7307, allocations: 366.7 kB / 0.9535 GB, free: 2.672 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.731, allocations: 128.6 kB / 0.9536 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.7313, allocations: 220.4 kB / 0.9538 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.7318, allocations: 337.4 kB / 0.9541 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.7318, allocations: 0 / 0.9541 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009294/0.7328, allocations: 498.7 kB / 0.9546 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7328, allocations: 4 kB / 0.9546 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.7328, allocations: 11.92 kB / 0.9546 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/0.7331, allocations: 89.66 kB / 0.9547 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.7335, allocations: 71.91 kB / 0.9548 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.7365, allocations: 3.337 MB / 0.958 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.7371, allocations: 55.42 kB / 0.9581 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.7371, allocations: 8 kB / 0.9581 GB, free: 13.59 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002927/0.7374, allocations: 213.7 kB / 0.9583 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.7376, allocations: 63.41 kB / 0.9583 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.7377, allocations: 56.5 kB / 0.9584 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.7377, allocations: 0 / 0.9584 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7377, allocations: 11.88 kB / 0.9584 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007234/0.7384, allocations: 0.5285 MB / 0.9589 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.7397, allocations: 0.9104 MB / 0.9598 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.7398, allocations: 4 kB / 0.9598 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.74, allocations: 39.97 kB / 0.9599 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000209/0.7402, allocations: 68.75 kB / 0.9599 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.7402, allocations: 4.062 kB / 0.9599 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.7419, allocations: 1.831 MB / 0.9617 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.7419, allocations: 3.984 kB / 0.9617 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.7426, allocations: 439.4 kB / 0.9621 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.7428, allocations: 160.5 kB / 0.9623 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.16e-05/0.7429, allocations: 11.94 kB / 0.9623 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.7434, allocations: 18.83 kB / 0.9623 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.7435, allocations: 23.91 kB / 0.9623 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.7435, allocations: 12 kB / 0.9623 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004481/0.744, allocations: 402.8 kB / 0.9627 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.744, allocations: 0 / 0.9627 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006488/0.7446, allocations: 211.5 kB / 0.9629 GB, free: 8.285 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001317/0.746, allocations: 1.037 MB / 0.9639 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.747, allocations: 0.5167 MB / 0.9645 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7471, allocations: 0.5625 kB / 0.9645 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.7475, allocations: 268.4 kB / 0.9647 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.7491, allocations: 367.4 kB / 0.9651 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006059/0.7552, allocations: 4.455 MB / 0.9694 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.7558, allocations: 0.9092 MB / 0.9703 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004558/0.7562, allocations: 116.8 kB / 0.9704 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.7565, allocations: 195.4 kB / 0.9706 GB, free: 208 kB / 0.7169 GB Notification: Performance of SimCode: time 9.42e-07/0.7565, allocations: 4 kB / 0.9706 GB, free: 204 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/0.8031, allocations: 18.09 MB / 0.9883 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/12, allocations: 15.03 kB / 0.9883 GB, free: 14.54 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)