Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.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.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",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.001078/0.001078, 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.001196/0.001196, 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 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 222.4 MB, free: 4.594 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 1.694/1.694, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001458/0.001458, allocations: 68.08 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2474, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.004805/0.2523, allocations: 3.03 MB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.2539, allocations: 0.9357 MB / 0.7873 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.2541, allocations: 11.94 kB / 0.7874 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.2546, allocations: 123.1 kB / 0.7875 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.2549, allocations: 142.9 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.2551, allocations: 87.89 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.2555, allocations: 457.7 kB / 0.7881 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/0.2557, allocations: 153.9 kB / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.2559, allocations: 159.4 kB / 0.7884 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.2561, allocations: 175.2 kB / 0.7886 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.2562, allocations: 28 kB / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.114e-05/0.2563, allocations: 32 kB / 0.7886 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.2563, allocations: 87.61 kB / 0.7887 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.2565, allocations: 195.1 kB / 0.7889 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.2569, allocations: 394.5 kB / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2569, allocations: 0 / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2569, allocations: 0 / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.2569, allocations: 0 / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0009267/0.2578, allocations: 0.6474 MB / 0.7899 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2579, allocations: 8.031 kB / 0.7899 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.212e-05/0.2579, allocations: 74.72 kB / 0.79 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.522e-05/0.258, allocations: 44.47 kB / 0.79 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.2584, allocations: 296.5 kB / 0.7903 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.2585, allocations: 29.38 kB / 0.7904 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.2586, allocations: 36.38 kB / 0.7904 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.259, allocations: 370.8 kB / 0.7907 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.2591, allocations: 0 / 0.7907 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.2591, allocations: 19.94 kB / 0.7908 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.2591, allocations: 8 kB / 0.7908 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.2595, allocations: 212.6 kB / 0.791 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.261, allocations: 1.482 MB / 0.7924 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.2614, allocations: 290.6 kB / 0.7927 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.2615, allocations: 111.4 kB / 0.7928 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2616, allocations: 15.88 kB / 0.7928 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.2616, allocations: 38.56 kB / 0.7929 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.2616, allocations: 0 / 0.7929 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0005352/0.2621, allocations: 281.5 kB / 0.7931 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.2622, allocations: 136.5 kB / 0.7933 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.2625, allocations: 238.6 kB / 0.7935 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.2625, allocations: 33.7 kB / 0.7935 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.2627, allocations: 184.2 kB / 0.7937 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/0.2628, allocations: 114.3 kB / 0.7938 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.705e-05/0.2628, allocations: 66.08 kB / 0.7939 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.263, allocations: 338.8 kB / 0.7942 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.2631, allocations: 68.72 kB / 0.7943 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.2633, allocations: 157.7 kB / 0.7944 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.2636, allocations: 236.4 kB / 0.7946 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2636, allocations: 0 / 0.7946 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003899/0.264, allocations: 309 kB / 0.7949 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.264, allocations: 8 kB / 0.7949 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.264, allocations: 0 / 0.7949 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.264, allocations: 7.984 kB / 0.7949 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.2643, allocations: 95.83 kB / 0.795 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2644, allocations: 4 kB / 0.795 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.2645, allocations: 27.69 kB / 0.7951 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.2645, allocations: 16 kB / 0.7951 GB, free: 1.055 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.2647, allocations: 149.9 kB / 0.7952 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.2648, allocations: 31.56 kB / 0.7952 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.702e-05/0.2648, allocations: 37.7 kB / 0.7953 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2648, allocations: 4 kB / 0.7953 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2649, allocations: 0 / 0.7953 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2649, allocations: 3.984 kB / 0.7953 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.2654, allocations: 345.3 kB / 0.7956 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2654, allocations: 7.875 kB / 0.7956 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.2657, allocations: 79.95 kB / 0.7957 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2657, allocations: 11.94 kB / 0.7957 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.2658, allocations: 8.75 kB / 0.7957 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.2658, allocations: 3.938 kB / 0.7957 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.2658, allocations: 4 kB / 0.7957 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005765/0.2664, allocations: 0.6305 MB / 0.7963 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.911e-05/0.2665, allocations: 124.6 kB / 0.7965 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.2665, allocations: 11.98 kB / 0.7965 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.2668, allocations: 8 kB / 0.7965 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.2668, allocations: 20.02 kB / 0.7965 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.2668, allocations: 8 kB / 0.7965 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001441/0.267, allocations: 178 kB / 0.7967 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.267, allocations: 0 / 0.7967 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004401/0.2674, allocations: 91.75 kB / 0.7968 GB, free: 15.22 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (heaCapGla01.TUns,heaCapUns2.T,heaCapGlaNoSha.TUns,heaCapUns3.T,heaCapGla.TUns,heaCapGla.TSha,heaCapSha1.T,heaCapUns1.T,heaCapGla01.TSha,heaCapSha2.T) * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008162/0.2682, allocations: 1.171 MB / 0.7979 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.2686, allocations: 220.1 kB / 0.7981 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.2686, allocations: 0 / 0.7981 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.2687, allocations: 99.84 kB / 0.7982 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/0.2694, allocations: 40.38 kB / 0.7983 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.2733, allocations: 3.589 MB / 0.8018 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.2737, allocations: 0.7834 MB / 0.8025 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.2738, allocations: 34.95 kB / 0.8026 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.274, allocations: 103.4 kB / 0.8027 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of SimCode: time 1.213e-06/0.274, allocations: 3.938 kB / 0.8027 GB, free: 9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.3, allocations: 5.612 MB / 0.8081 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.229, allocations: 9.875 kB / 0.8082 GB, free: 3.539 MB / 0.6231 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1)