Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",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.001536/0.001536, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.00194/0.00194, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.92/2.92, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.012/3.012, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007907/0.0007909, allocations: 19.62 kB / 0.6736 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3585, allocations: 116.3 MB / 0.7872 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006116/0.3647, allocations: 3.499 MB / 0.7906 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007062/0.3718, allocations: 2.848 MB / 0.7934 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.3731, allocations: 19.88 kB / 0.7934 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.3748, allocations: 402.3 kB / 0.7938 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.3769, allocations: 0.5137 MB / 0.7943 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.3793, allocations: 0.4991 MB / 0.7948 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002854/0.3822, allocations: 1.05 MB / 0.7958 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.3826, allocations: 148.3 kB / 0.796 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.384, allocations: 466.5 kB / 0.7964 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.3852, allocations: 490.1 kB / 0.7969 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.3854, allocations: 40 kB / 0.7969 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000951/0.3863, allocations: 287.6 kB / 0.7972 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005869/0.3869, allocations: 382.9 kB / 0.7976 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004354/0.3874, allocations: 241 kB / 0.7978 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.389, allocations: 1.033 MB / 0.7988 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.389, allocations: 4 kB / 0.7988 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.817e-06/0.389, allocations: 0 / 0.7988 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.062e-05/0.3891, allocations: 0 / 0.7988 GB, free: 15.99 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003847/0.3929, allocations: 1.456 MB / 0.8002 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.393, allocations: 8.031 kB / 0.8002 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.3931, allocations: 86.52 kB / 0.8003 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.3935, allocations: 130.4 kB / 0.8004 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.3953, allocations: 0.7329 MB / 0.8012 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.3953, allocations: 45 kB / 0.8012 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.3955, allocations: 63.98 kB / 0.8013 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.3967, allocations: 0.6138 MB / 0.8019 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.3968, allocations: 0 / 0.8019 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.204e-05/0.3968, allocations: 16 kB / 0.8019 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.3969, allocations: 8 kB / 0.8019 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.398, allocations: 0.5621 MB / 0.8024 GB, free: 12.14 MB / 0.6231 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.006782/0.4048, allocations: 3.271 MB / 0.8056 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.4068, allocations: 0.8593 MB / 0.8065 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.407, allocations: 24.27 kB / 0.8065 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.407, allocations: 34.94 kB / 0.8065 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 3.907e-06/0.4071, allocations: 0 / 0.8065 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002822/0.4099, allocations: 1.184 MB / 0.8077 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.41, allocations: 63.28 kB / 0.8077 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/0.4125, allocations: 1.173 MB / 0.8089 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.4127, allocations: 41.7 kB / 0.8089 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005484/0.4132, allocations: 456.8 kB / 0.8094 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.4135, allocations: 181.4 kB / 0.8095 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.4136, allocations: 16 kB / 0.8095 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002186/0.4138, allocations: 357.9 kB / 0.8099 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.415, allocations: 0.6426 MB / 0.8105 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.4167, allocations: 0.9669 MB / 0.8115 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.4181, allocations: 0.7404 MB / 0.8122 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/0.4182, allocations: 4 kB / 0.8122 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004157/0.4223, allocations: 1.775 MB / 0.8139 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.4224, allocations: 14.81 kB / 0.8139 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.561e-05/0.4224, allocations: 12 kB / 0.8139 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003053/0.4228, allocations: 44.83 kB / 0.814 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.4246, allocations: 275.9 kB / 0.8142 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006404/0.4311, allocations: 6.733 MB / 0.8208 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.4332, allocations: 138.5 kB / 0.821 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.4334, allocations: 44.19 kB / 0.821 GB, free: 8.305 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007471/0.4342, allocations: 309.4 kB / 0.8213 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/0.4345, allocations: 106.6 kB / 0.8214 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.4363, allocations: 0.8491 MB / 0.8222 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.4364, allocations: 8 kB / 0.8222 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4364, allocations: 3.984 kB / 0.8222 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.4364, allocations: 3.953 kB / 0.8222 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.438, allocations: 0.8878 MB / 0.8231 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.4381, allocations: 3.984 kB / 0.8231 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008098/0.4389, allocations: 119.8 kB / 0.8232 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000239/0.4391, allocations: 32.84 kB / 0.8233 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/0.4392, allocations: 15.98 kB / 0.8233 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/0.4407, allocations: 1.335 MB / 0.8246 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4407, allocations: 0 / 0.8246 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.4434, allocations: 1.37 MB / 0.8259 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000773/0.4442, allocations: 263.7 kB / 0.8262 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.4444, allocations: 15.98 kB / 0.8262 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008094/0.4452, allocations: 39.83 kB / 0.8262 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.4453, allocations: 27.95 kB / 0.8262 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.4454, allocations: 12 kB / 0.8263 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001691/0.4471, allocations: 0.7763 MB / 0.827 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4471, allocations: 0 / 0.827 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001701/0.4488, allocations: 371.7 kB / 0.8274 GB, free: 1.539 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003344/0.4522, allocations: 2.014 MB / 0.8293 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003956/0.4562, allocations: 1.499 MB / 0.8308 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.4562, allocations: 0 / 0.8308 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008796/0.4571, allocations: 483.1 kB / 0.8313 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.459, allocations: 200.5 kB / 0.8315 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.4713, allocations: 10.67 MB / 0.8419 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009621/0.4723, allocations: 1.125 MB / 0.843 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009918/0.4733, allocations: 194.3 kB / 0.8431 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007333/0.4741, allocations: 391.3 kB / 0.8435 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of SimCode: time 1.943e-06/0.4741, allocations: 0 / 0.8435 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/0.5951, allocations: 22.14 MB / 0.8651 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004511/0.5957, allocations: 219.3 kB / 0.8654 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.105/4.701, allocations: 3.938 kB / 0.8654 GB, free: 10.59 MB / 0.6856 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) Environment - environmentSimulation: