Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.407/2.407, allocations: 248.7 MB / 256.2 MB, free: 7.082 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001456, allocations: 174 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 94.11 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.492e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2056, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.126/7.332, allocations: 2.213 GB / 3.097 GB, free: 141 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/7.332, allocations: 86.7 kB / 3.097 GB, free: 141 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.242/9.574, allocations: 461.2 MB / 3.547 GB, free: 25.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.224e-06/9.574, allocations: 0 / 3.547 GB, free: 25.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001981/9.575, allocations: 51.98 kB / 3.547 GB, free: 25.65 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.005886/9.58, allocations: 1.78 MB / 3.549 GB, free: 23.82 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/9.581, allocations: 8.031 kB / 3.549 GB, free: 23.81 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005122/9.586, allocations: 453.3 kB / 3.549 GB, free: 23.36 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003214/9.589, allocations: 0.9893 MB / 3.55 GB, free: 22.33 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/9.589, allocations: 48 kB / 3.55 GB, free: 22.28 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003734/9.589, allocations: 92 kB / 3.551 GB, free: 22.19 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004587/9.594, allocations: 1.509 MB / 3.552 GB, free: 20.68 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004843/9.599, allocations: 1.428 MB / 3.553 GB, free: 19.17 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.219e-05/9.599, allocations: 3.938 kB / 3.553 GB, free: 19.16 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002963/9.599, allocations: 4 kB / 3.553 GB, free: 19.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/9.599, allocations: 43.98 kB / 3.553 GB, free: 19.12 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.01397/9.613, allocations: 5.613 MB / 3.559 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002867/9.616, allocations: 1.103 MB / 3.56 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/9.618, allocations: 493 kB / 3.56 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/9.619, allocations: 0.8909 MB / 3.561 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001769/9.621, allocations: 0.6762 MB / 3.562 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=117): time 4.518e-06/9.621, allocations: 0 / 3.562 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of matching and sorting (n=117): time 0.004458/9.625, allocations: 1.098 MB / 3.563 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.254e-05/9.625, allocations: 248.6 kB / 3.563 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/9.627, allocations: 0.6884 MB / 3.564 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004188/9.627, allocations: 29.7 kB / 3.564 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007005/9.628, allocations: 0.6558 MB / 3.565 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005889/9.629, allocations: 374.3 kB / 3.565 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/9.629, allocations: 0 / 3.565 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001556/9.629, allocations: 341.9 kB / 3.565 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/9.63, allocations: 354.5 kB / 3.566 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/9.631, allocations: 0.5046 MB / 3.566 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/9.633, allocations: 438.5 kB / 3.567 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/9.633, allocations: 0 / 3.567 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004083/9.637, allocations: 1.082 MB / 3.568 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/9.637, allocations: 4 kB / 3.568 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/9.637, allocations: 3.984 kB / 3.568 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/9.638, allocations: 84.91 kB / 3.568 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002571/9.641, allocations: 267.6 kB / 3.568 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/9.643, allocations: 1.461 MB / 3.569 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/9.646, allocations: 119.2 kB / 3.57 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003153/9.646, allocations: 43.91 kB / 3.57 GB, free: 1.836 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000479/9.646, allocations: 128.8 kB / 3.57 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003808/9.65, allocations: 1.067 MB / 3.571 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006246/9.651, allocations: 118.6 kB / 3.571 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7144/10.37, allocations: 1.368 MB / 3.572 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-05/10.37, allocations: 12.44 kB / 3.572 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/10.37, allocations: 0.9375 kB / 3.572 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-05/10.37, allocations: 6.75 kB / 3.572 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/10.37, allocations: 1.212 MB / 3.573 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/10.37, allocations: 4.484 kB / 3.573 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002726/10.37, allocations: 265.2 kB / 3.574 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000944/10.37, allocations: 88.56 kB / 3.574 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002373/10.37, allocations: 22.2 kB / 3.574 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/10.38, allocations: 1.489 MB / 3.575 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/10.38, allocations: 6.219 kB / 3.575 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005884/10.38, allocations: 1.801 MB / 3.577 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/10.38, allocations: 404.1 kB / 3.577 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003495/10.38, allocations: 2.828 kB / 3.577 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/10.39, allocations: 97.12 kB / 3.577 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003275/10.39, allocations: 84.36 kB / 3.578 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/10.39, allocations: 61.52 kB / 3.578 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001349/10.39, allocations: 0.5386 MB / 3.578 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-07/10.39, allocations: 2.625 kB / 3.578 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003048/10.39, allocations: 0.5939 MB / 3.579 GB, free: 191.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01079/10.4, allocations: 4.132 MB / 3.583 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003243/10.4, allocations: 1.051 MB / 3.584 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/10.4, allocations: 2.578 kB / 3.584 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/10.41, allocations: 0.658 MB / 3.584 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004426/10.41, allocations: 416.9 kB / 3.585 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/10.42, allocations: 2.552 MB / 3.587 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/10.42, allocations: 1.326 MB / 3.589 GB, free: 189 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003248/10.43, allocations: 426.9 kB / 3.589 GB, free: 189 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/10.43, allocations: 0.6357 MB / 3.59 GB, free: 189 MB / 0.8698 GB Notification: Performance of SimCode: time 1.232e-06/10.43, allocations: 0 / 3.59 GB, free: 189 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1638/10.59, allocations: 41.7 MB / 3.63 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/10.59, allocations: 165.7 kB / 3.63 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.784/15.38, allocations: 0 / 3.63 GB, free: 187.7 MB / 0.8698 GB