Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.001645/0.001645, allocations: 108 kB / 15.6 MB, free: 132 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.001443/0.001443, allocations: 193.4 kB / 16.53 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.359/2.359, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.557/0.5584, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004716/0.5631, allocations: 3.736 MB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003849/0.567, allocations: 2.51 MB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.5675, allocations: 11.94 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007575/0.5683, allocations: 250.3 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.5695, allocations: 0.4899 MB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.5707, allocations: 0.5377 MB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.5721, allocations: 1.383 MB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.5724, allocations: 153.1 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006039/0.573, allocations: 418.6 kB / 1.027 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000721/0.5737, allocations: 0.5137 MB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.5739, allocations: 60 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.574, allocations: 68 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.5743, allocations: 339 kB / 1.028 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.5748, allocations: 461.7 kB / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007324/0.5756, allocations: 0.9302 MB / 1.029 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.5756, allocations: 0 / 1.029 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5756, allocations: 0 / 1.029 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.314e-05/0.5756, allocations: 0 / 1.029 GB, free: 6.578 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002194/0.5778, allocations: 1.265 MB / 1.03 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.5779, allocations: 8.031 kB / 1.03 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.796e-05/0.578, allocations: 78.66 kB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.5781, allocations: 103.7 kB / 1.03 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009355/0.5791, allocations: 0.6482 MB / 1.031 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.5791, allocations: 37.03 kB / 1.031 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-05/0.5792, allocations: 68.03 kB / 1.031 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.5797, allocations: 411 kB / 1.031 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.5798, allocations: 3.938 kB / 1.031 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.5798, allocations: 12 kB / 1.031 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.5798, allocations: 8 kB / 1.032 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.5802, allocations: 238.4 kB / 1.032 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.583, allocations: 2.502 MB / 1.034 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.5843, allocations: 0.5464 MB / 1.035 GB, free: 348 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.5845, allocations: 164.8 kB / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.5846, allocations: 4 kB / 1.035 GB, free: 176 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.5846, allocations: 34.56 kB / 1.035 GB, free: 132 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.292e-06/0.5846, allocations: 0 / 1.035 GB, free: 132 kB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001472/0.5861, allocations: 0.8952 MB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.5861, allocations: 55.41 kB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.5872, allocations: 0.923 MB / 1.037 GB, free: 14.17 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.5872, allocations: 45.69 kB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.5875, allocations: 360.9 kB / 1.037 GB, free: 13.76 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.744e-05/0.5876, allocations: 118.2 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.5878, allocations: 182.5 kB / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5879, allocations: 390.8 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.5883, allocations: 245.8 kB / 1.038 GB, free: 12.82 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/0.5888, allocations: 0.6387 MB / 1.039 GB, free: 12 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009233/0.5897, allocations: 0.895 MB / 1.04 GB, free: 10.91 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.5898, allocations: 4 kB / 1.04 GB, free: 10.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00145/0.5912, allocations: 1.011 MB / 1.041 GB, free: 9.875 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.5913, allocations: 17.7 kB / 1.041 GB, free: 9.859 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.5913, allocations: 15.94 kB / 1.041 GB, free: 9.844 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.5916, allocations: 126.7 kB / 1.041 GB, free: 9.711 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.5922, allocations: 191.7 kB / 1.041 GB, free: 9.523 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.5952, allocations: 4.473 MB / 1.045 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007983/0.596, allocations: 107 kB / 1.045 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.5961, allocations: 44 kB / 1.045 GB, free: 4.48 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002656/0.5963, allocations: 273.3 kB / 1.046 GB, free: 4.203 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.5965, allocations: 83.03 kB / 1.046 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.5966, allocations: 84.64 kB / 1.046 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5966, allocations: 7.984 kB / 1.046 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5966, allocations: 0 / 1.046 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.5966, allocations: 0 / 1.046 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006717/0.5973, allocations: 0.6609 MB / 1.046 GB, free: 3.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.5973, allocations: 0 / 1.046 GB, free: 3.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.5976, allocations: 59.89 kB / 1.046 GB, free: 3.262 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002666/0.5979, allocations: 106.5 kB / 1.047 GB, free: 3.148 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.5979, allocations: 8 kB / 1.047 GB, free: 3.141 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/0.6007, allocations: 4.458 MB / 1.051 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6007, allocations: 0 / 1.051 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009794/0.6017, allocations: 0.7353 MB / 1.052 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.602, allocations: 211.9 kB / 1.052 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.821e-05/0.6021, allocations: 11.98 kB / 1.052 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/0.6025, allocations: 19.97 kB / 1.052 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.6026, allocations: 23.97 kB / 1.052 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.6026, allocations: 4 kB / 1.052 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007597/0.6034, allocations: 0.6239 MB / 1.053 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6034, allocations: 0 / 1.053 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007565/0.6041, allocations: 275.7 kB / 1.053 GB, free: 12.32 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/0.6053, allocations: 1.299 MB / 1.054 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.6066, allocations: 0.9519 MB / 1.055 GB, free: 10 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6066, allocations: 4.062 kB / 1.055 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005367/0.6072, allocations: 0.5239 MB / 1.056 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008018/0.608, allocations: 178.6 kB / 1.056 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009918/0.6179, allocations: 8.135 MB / 1.064 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.6185, allocations: 0.9878 MB / 1.065 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004244/0.619, allocations: 141.9 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.6193, allocations: 279.3 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of SimCode: time 1.112e-06/0.6193, allocations: 0 / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3021/0.9215, allocations: 17.06 MB / 1.082 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/15.72, allocations: 5.594 kB / 1.082 GB, free: 14.29 MB / 0.8419 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)