Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",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.0007328/0.0007328, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007878/0.0007879, allocations: 173.9 kB / 16.58 MB, free: 6.402 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.18/1.18, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6051/0.6051, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.000263, allocations: 11.98 kB / 493.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.01699/0.1352, allocations: 19.08 MB / 0.5755 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006013/0.1413, allocations: 5.038 MB / 0.5805 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004716/0.1417, allocations: 23.81 kB / 0.5805 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006607/0.1424, allocations: 258.4 kB / 0.5807 GB, free: 3.207 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.1441, allocations: 0.7463 MB / 0.5815 GB, free: 2.457 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.146, allocations: 0.7635 MB / 0.5822 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2149/0.3609, allocations: 1.946 MB / 0.5841 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008207/0.3617, allocations: 398.3 kB / 0.5845 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.3628, allocations: 0.5899 MB / 0.5851 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.3634, allocations: 470.3 kB / 0.5855 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.643e-05/0.3635, allocations: 22.66 kB / 0.5855 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.3652, allocations: 0.9559 MB / 0.5865 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.3654, allocations: 119.2 kB / 0.5866 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.3655, allocations: 137.1 kB / 0.5867 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.3666, allocations: 0.8256 MB / 0.5875 GB, free: 12.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.3666, allocations: 0 / 0.5875 GB, free: 12.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3666, allocations: 1.344 kB / 0.5875 GB, free: 12.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.016e-06/0.3666, allocations: 7.656 kB / 0.5875 GB, free: 12.12 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001367/0.368, allocations: 0.925 MB / 0.5884 GB, free: 27.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.3681, allocations: 9.344 kB / 0.5884 GB, free: 27.46 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.82e-05/0.3681, allocations: 75.8 kB / 0.5885 GB, free: 27.42 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007751/0.3689, allocations: 196.7 kB / 0.5887 GB, free: 27.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009642/0.3699, allocations: 0.5429 MB / 0.5892 GB, free: 27.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/0.3702, allocations: 98.56 kB / 0.5893 GB, free: 27.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.3703, allocations: 37.16 kB / 0.5893 GB, free: 27.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009274/0.3712, allocations: 0.5005 MB / 0.5898 GB, free: 27.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3712, allocations: 0.5938 kB / 0.5898 GB, free: 27.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.3713, allocations: 21.16 kB / 0.5899 GB, free: 27.03 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.3713, allocations: 10.02 kB / 0.5899 GB, free: 27.03 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009151/0.3722, allocations: 429.3 kB / 0.5903 GB, free: 27.02 MB / 462.1 MB 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.002386/0.3746, allocations: 2.3 MB / 0.5925 GB, free: 25.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009161/0.3756, allocations: 395 kB / 0.5929 GB, free: 25.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.376, allocations: 233.8 kB / 0.5931 GB, free: 25.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.3762, allocations: 336.5 kB / 0.5934 GB, free: 25.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005418/0.3767, allocations: 313.4 kB / 0.5937 GB, free: 25.08 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.3768, allocations: 0 / 0.5937 GB, free: 25.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.00196/0.3787, allocations: 0.886 MB / 0.5946 GB, free: 24.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.3788, allocations: 84.56 kB / 0.5947 GB, free: 24.76 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.3793, allocations: 493.4 kB / 0.5952 GB, free: 24.64 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.3793, allocations: 36.86 kB / 0.5952 GB, free: 24.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.3795, allocations: 277.2 kB / 0.5955 GB, free: 24.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.717e-05/0.3796, allocations: 110.7 kB / 0.5956 GB, free: 24.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.005e-05/0.3796, allocations: 5.375 kB / 0.5956 GB, free: 24.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3798, allocations: 366.7 kB / 0.5959 GB, free: 24.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.3802, allocations: 179.4 kB / 0.5961 GB, free: 24.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.3806, allocations: 275.1 kB / 0.5964 GB, free: 23.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.381, allocations: 221.3 kB / 0.5966 GB, free: 23.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3811, allocations: 2.906 kB / 0.5966 GB, free: 23.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001206/0.3823, allocations: 0.6361 MB / 0.5972 GB, free: 23.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.441e-05/0.3823, allocations: 167.7 kB / 0.5973 GB, free: 23.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3824, allocations: 1.281 kB / 0.5973 GB, free: 23.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002932/0.3827, allocations: 70.47 kB / 0.5974 GB, free: 23.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.383, allocations: 91.36 kB / 0.5975 GB, free: 23.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003831/0.3834, allocations: 0.5932 MB / 0.5981 GB, free: 23.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.3839, allocations: 79.17 kB / 0.5982 GB, free: 23.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.3839, allocations: 21.38 kB / 0.5982 GB, free: 23.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.3839, allocations: 5.594 kB / 0.5982 GB, free: 23.1 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001118/0.3851, allocations: 0.5611 MB / 0.5987 GB, free: 23.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3851, allocations: 1.938 kB / 0.5987 GB, free: 23.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/0.3852, allocations: 53.34 kB / 0.5988 GB, free: 23.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.3855, allocations: 81.94 kB / 0.5989 GB, free: 23.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.3867, allocations: 1.627 MB / 0.6004 GB, free: 21.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.3871, allocations: 77.81 kB / 0.6005 GB, free: 21.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.3872, allocations: 21.59 kB / 0.6005 GB, free: 21.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002599/0.3874, allocations: 296.1 kB / 0.6008 GB, free: 21.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.472e-05/0.3875, allocations: 61.09 kB / 0.6009 GB, free: 21.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.3889, allocations: 0.6649 MB / 0.6015 GB, free: 21.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.3889, allocations: 4.391 kB / 0.6015 GB, free: 21.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.3889, allocations: 4.531 kB / 0.6015 GB, free: 21.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/0.39, allocations: 0.815 MB / 0.6023 GB, free: 20.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.3919, allocations: 1.323 MB / 0.6036 GB, free: 20.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.392, allocations: 1.562 kB / 0.6036 GB, free: 20.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.3923, allocations: 73.84 kB / 0.6037 GB, free: 20.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.3924, allocations: 45.34 kB / 0.6037 GB, free: 20.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.3924, allocations: 15.33 kB / 0.6038 GB, free: 20.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002861/0.3927, allocations: 0.5834 MB / 0.6043 GB, free: 19.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3927, allocations: 3.812 kB / 0.6043 GB, free: 19.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.3943, allocations: 0.9836 MB / 0.6053 GB, free: 19.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.3945, allocations: 190.2 kB / 0.6055 GB, free: 19.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.3945, allocations: 11.36 kB / 0.6055 GB, free: 19.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/0.395, allocations: 62.3 kB / 0.6055 GB, free: 19.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.3951, allocations: 20.36 kB / 0.6056 GB, free: 19.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.3951, allocations: 21.62 kB / 0.6056 GB, free: 19.49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003383/0.3954, allocations: 340.8 kB / 0.6059 GB, free: 19.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3955, allocations: 0 / 0.6059 GB, free: 19.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001034/0.3965, allocations: 342.6 kB / 0.6062 GB, free: 19.36 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002177/0.3987, allocations: 1.711 MB / 0.6079 GB, free: 18.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.4004, allocations: 0.9924 MB / 0.6089 GB, free: 18.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4004, allocations: 1.812 kB / 0.6089 GB, free: 18.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005343/0.401, allocations: 334.4 kB / 0.6092 GB, free: 18.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.4021, allocations: 254.8 kB / 0.6094 GB, free: 18.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004848/0.4069, allocations: 3.486 MB / 0.6128 GB, free: 17.08 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.4073, allocations: 0.8822 MB / 0.6137 GB, free: 16.37 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004705/0.4078, allocations: 130 kB / 0.6138 GB, free: 16.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.408, allocations: 199.7 kB / 0.614 GB, free: 16.33 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.408, allocations: 4 kB / 0.614 GB, free: 16.33 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.4339, allocations: 16 MB / 0.6297 GB, free: 8.426 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/0.4341, allocations: 269.6 kB / 0.6299 GB, free: 8.059 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.257, allocations: 0 / 0.6299 GB, free: 8.059 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: