Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 288.2 MB / 303.2 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 190 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009203/0.0009207, allocations: 94.86 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003672, allocations: 11.53 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2072, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7104/0.9176, allocations: 247.2 MB / 1.221 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.03914/0.9568, allocations: 23.72 MB / 1.244 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005354/0.9622, allocations: 91.31 kB / 1.244 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.006508/0.9688, allocations: 1.719 MB / 1.246 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.02006/0.9889, allocations: 5.75 MB / 1.251 GB, free: 1.695 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00903/0.9979, allocations: 2.698 MB / 1.254 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01034/1.008, allocations: 5.087 MB / 1.259 GB, free: 9.934 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00532/1.014, allocations: 2.565 MB / 1.262 GB, free: 7.328 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007754/1.021, allocations: 2.609 MB / 1.264 GB, free: 4.711 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00428/1.026, allocations: 1.907 MB / 1.266 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001396/1.027, allocations: 152 kB / 1.266 GB, free: 2.648 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007219/1.034, allocations: 2.087 MB / 1.268 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002841/1.037, allocations: 1.305 MB / 1.269 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002369/1.04, allocations: 0.7615 MB / 1.27 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.008061/1.048, allocations: 4.493 MB / 1.275 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.048, allocations: 0 / 1.275 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.385e-06/1.048, allocations: 0 / 1.275 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.000256/1.048, allocations: 0 / 1.275 GB, free: 9.977 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.008209/1.056, allocations: 3.409 MB / 1.278 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/1.056, allocations: 8.031 kB / 1.278 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001196/1.058, allocations: 395.7 kB / 1.278 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006478/1.064, allocations: 0.94 MB / 1.279 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00667/1.071, allocations: 2.207 MB / 1.281 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/1.071, allocations: 277.4 kB / 1.282 GB, free: 2.586 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000925/1.072, allocations: 295.9 kB / 1.282 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008508/1.081, allocations: 3.323 MB / 1.285 GB, free: 14.89 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/1.081, allocations: 3.938 kB / 1.285 GB, free: 14.89 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000572/1.081, allocations: 116 kB / 1.285 GB, free: 14.77 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/1.082, allocations: 113.3 kB / 1.285 GB, free: 14.66 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006495/1.088, allocations: 2.785 MB / 1.288 GB, free: 11.86 MB / 0.823 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.02209/1.11, allocations: 13.24 MB / 1.301 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003588/1.114, allocations: 1.875 MB / 1.303 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/1.114, allocations: 57.92 kB / 1.303 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.863e-05/1.114, allocations: 60.56 kB / 1.303 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=186): time 5.711e-06/1.114, allocations: 0 / 1.303 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=186): time 0.006574/1.121, allocations: 2.774 MB / 1.306 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/1.121, allocations: 69.41 kB / 1.306 GB, free: 8.574 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003664/1.125, allocations: 1.961 MB / 1.308 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004018/1.125, allocations: 69.7 kB / 1.308 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001261/1.126, allocations: 1.395 MB / 1.309 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009325/1.127, allocations: 0.6546 MB / 1.31 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/1.127, allocations: 40 kB / 1.31 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002431/1.128, allocations: 386 kB / 1.31 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/1.129, allocations: 0.8004 MB / 1.311 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/1.132, allocations: 1.455 MB / 1.312 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/1.134, allocations: 1.056 MB / 1.313 GB, free: 436 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/1.134, allocations: 8 kB / 1.313 GB, free: 428 kB / 0.8386 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005605/1.139, allocations: 2.49 MB / 1.316 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002466/1.142, allocations: 5.244 MB / 1.321 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.71e-05/1.142, allocations: 16 kB / 1.321 GB, free: 8.168 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.815e-05/1.142, allocations: 24 kB / 1.321 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/1.145, allocations: 0.5616 MB / 1.321 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/1.147, allocations: 4.161 MB / 1.326 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003574/1.151, allocations: 367.7 kB / 1.326 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003337/1.151, allocations: 95.98 kB / 1.326 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.151, allocations: 5.25 kB / 1.326 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004163/1.156, allocations: 2.218 MB / 1.328 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.645e-05/1.156, allocations: 19.94 kB / 1.328 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/1.156, allocations: 27.98 kB / 1.328 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/1.158, allocations: 484 kB / 1.329 GB, free: 64 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-05/1.158, allocations: 31.92 kB / 1.329 GB, free: 32 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/1.161, allocations: 361.1 kB / 1.329 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/1.161, allocations: 95.92 kB / 1.329 GB, free: 15.59 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001701/1.163, allocations: 0.8518 MB / 1.33 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008438/1.164, allocations: 268.8 kB / 1.33 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004123/1.168, allocations: 2.142 MB / 1.332 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/1.168, allocations: 16 kB / 1.332 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.168, allocations: 4 kB / 1.332 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002844/1.171, allocations: 1.909 MB / 1.334 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/1.181, allocations: 5.208 MB / 1.339 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.181, allocations: 0 / 1.339 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/1.184, allocations: 0.5114 MB / 1.34 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.43e-05/1.184, allocations: 12 kB / 1.34 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001712/1.184, allocations: 55.92 kB / 1.34 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/1.186, allocations: 4.118 MB / 1.344 GB, free: 160 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.186, allocations: 7.938 kB / 1.344 GB, free: 152 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005793/1.192, allocations: 3.647 MB / 1.347 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/1.194, allocations: 0.5756 MB / 1.348 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007247/1.195, allocations: 43.98 kB / 1.348 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002627/1.197, allocations: 250.1 kB / 1.348 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/1.197, allocations: 117.8 kB / 1.348 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/1.198, allocations: 71.95 kB / 1.348 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002554/1.2, allocations: 1.31 MB / 1.35 GB, free: 9.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.01e-07/1.2, allocations: 0 / 1.35 GB, free: 9.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005718/1.206, allocations: 1.726 MB / 1.351 GB, free: 8.25 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * 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 (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00775/1.214, allocations: 5.195 MB / 1.356 GB, free: 2.965 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007066/1.221, allocations: 3.348 MB / 1.36 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/1.221, allocations: 0 / 1.36 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/1.223, allocations: 1.055 MB / 1.361 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008127/1.231, allocations: 1.567 MB / 1.362 GB, free: 13 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/1.252, allocations: 18.73 MB / 1.381 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002211/1.254, allocations: 2.244 MB / 1.383 GB, free: 7.207 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004222/1.259, allocations: 1.111 MB / 1.384 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001871/1.261, allocations: 1.269 MB / 1.385 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of SimCode: time 1.192e-06/1.261, allocations: 0 / 1.385 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5419/1.802, allocations: 76.62 MB / 1.46 GB, free: 356.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/1.803, allocations: 272 kB / 1.46 GB, free: 356 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.596/6.399, allocations: 0 / 1.46 GB, free: 356 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)