Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.001181/0.001181, allocations: 96.94 kB / 15.36 MB, free: 0.7305 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.001288/0.001288, allocations: 171.2 kB / 16.26 MB, free: 6.664 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.386/1.386, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003674, allocations: 16 kB / 0.873 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5843/0.5847, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009014/0.5937, allocations: 7.696 MB / 1.031 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1527/0.7465, allocations: 152.1 MB / 1.179 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.7483, allocations: 31.75 kB / 1.179 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00531/0.7536, allocations: 1.818 MB / 1.181 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003656/0.7573, allocations: 1.16 MB / 1.182 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.7607, allocations: 1.252 MB / 1.183 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005732/0.7664, allocations: 5.402 MB / 1.189 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.7682, allocations: 1.064 MB / 1.19 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.7706, allocations: 1.296 MB / 1.191 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.7727, allocations: 1.256 MB / 1.192 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004594/0.7732, allocations: 72 kB / 1.192 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.7767, allocations: 2.028 MB / 1.194 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00221/0.7789, allocations: 2.791 MB / 1.197 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002429/0.7814, allocations: 2.422 MB / 1.199 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00985/0.7912, allocations: 10.35 MB / 1.209 GB, free: 444 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7913, allocations: 3.938 kB / 1.209 GB, free: 440 kB / 0.9512 GB Notification: Performance of FrontEnd: time 2.775e-06/0.7913, allocations: 0 / 1.209 GB, free: 440 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001349/0.7914, allocations: 0 / 1.209 GB, free: 440 kB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01373/0.8052, allocations: 6.713 MB / 1.216 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.8052, allocations: 11.97 kB / 1.216 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004684/0.8057, allocations: 219.9 kB / 1.216 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002634/0.8084, allocations: 0.6112 MB / 1.217 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7042/1.513, allocations: 276 MB / 1.486 GB, free: 8.684 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/1.513, allocations: 134.9 kB / 1.486 GB, free: 8.551 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004375/1.513, allocations: 189.1 kB / 1.487 GB, free: 8.367 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003553/1.517, allocations: 1.968 MB / 1.488 GB, free: 6.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/1.517, allocations: 3.938 kB / 1.488 GB, free: 6.316 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/1.517, allocations: 64 kB / 1.489 GB, free: 6.254 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/1.517, allocations: 36 kB / 1.489 GB, free: 6.219 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003107/1.52, allocations: 1.99 MB / 1.491 GB, free: 4.223 MB / 1.014 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.06296/1.583, allocations: 70.48 MB / 1.559 GB, free: 13.53 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/1.586, allocations: 1.794 MB / 1.561 GB, free: 11.73 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/1.588, allocations: 1.089 MB / 1.562 GB, free: 10.64 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/1.588, allocations: 37.02 kB / 1.562 GB, free: 10.6 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/1.59, allocations: 1.201 MB / 1.563 GB, free: 9.383 MB / 1.092 GB Notification: Performance of pre-optimization done (n=117): time 3.527e-06/1.59, allocations: 4 kB / 1.563 GB, free: 9.379 MB / 1.092 GB Notification: Performance of matching and sorting (n=117): time 0.007972/1.598, allocations: 3.71 MB / 1.567 GB, free: 5.633 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002219/1.598, allocations: 342.5 kB / 1.567 GB, free: 5.25 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7671/2.365, allocations: 315.9 MB / 1.876 GB, free: 281.4 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003851/2.366, allocations: 65.7 kB / 1.876 GB, free: 281.3 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00215/2.368, allocations: 2.22 MB / 1.878 GB, free: 279.3 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/2.368, allocations: 389.8 kB / 1.878 GB, free: 279.1 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/2.368, allocations: 217.6 kB / 1.879 GB, free: 278.9 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 3.588e-05/2.368, allocations: 308.8 kB / 1.879 GB, free: 278.6 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/2.37, allocations: 1.523 MB / 1.88 GB, free: 277.1 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/2.372, allocations: 1.838 MB / 1.882 GB, free: 275.2 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003306/2.375, allocations: 3.24 MB / 1.885 GB, free: 271.9 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/2.375, allocations: 0 / 1.885 GB, free: 271.9 MB / 1.217 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006366/2.382, allocations: 4.295 MB / 1.89 GB, free: 267.7 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/2.382, allocations: 165.6 kB / 1.89 GB, free: 267.5 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/2.382, allocations: 4 kB / 1.89 GB, free: 267.5 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006101/2.382, allocations: 93.38 kB / 1.89 GB, free: 267.4 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/2.384, allocations: 396.9 kB / 1.89 GB, free: 267 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/2.385, allocations: 1.555 MB / 1.892 GB, free: 265.4 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/2.388, allocations: 0.6531 MB / 1.892 GB, free: 264.7 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/2.389, allocations: 88.67 kB / 1.892 GB, free: 264.6 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002381/2.391, allocations: 2.165 MB / 1.895 GB, free: 262.5 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008173/2.392, allocations: 454.6 kB / 1.895 GB, free: 262 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004576/2.396, allocations: 3.393 MB / 1.898 GB, free: 258.6 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/2.396, allocations: 15.94 kB / 1.898 GB, free: 258.6 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/2.396, allocations: 0 / 1.898 GB, free: 258.6 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/2.396, allocations: 7.969 kB / 1.898 GB, free: 258.6 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/2.4, allocations: 4.088 MB / 1.902 GB, free: 254.5 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/2.4, allocations: 0 / 1.902 GB, free: 254.5 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/2.4, allocations: 184.5 kB / 1.903 GB, free: 254.3 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005087/2.401, allocations: 88.77 kB / 1.903 GB, free: 254.2 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.462e-05/2.401, allocations: 35.97 kB / 1.903 GB, free: 254.2 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/2.402, allocations: 1.557 MB / 1.904 GB, free: 252.5 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/2.402, allocations: 3.938 kB / 1.904 GB, free: 252.5 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004184/2.407, allocations: 3.041 MB / 1.907 GB, free: 249.4 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/2.409, allocations: 1.786 MB / 1.909 GB, free: 247.6 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006771/2.409, allocations: 32 kB / 1.909 GB, free: 247.6 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/2.412, allocations: 443.8 kB / 1.909 GB, free: 247.1 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/2.412, allocations: 96.81 kB / 1.909 GB, free: 247 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/2.412, allocations: 69.56 kB / 1.909 GB, free: 247 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.1599/2.572, allocations: 251.5 MB / 2.155 GB, free: 11.45 MB / 1.232 GB Notification: Performance of sort global known variables: time 6.21e-07/2.572, allocations: 0 / 2.155 GB, free: 11.45 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004576/2.576, allocations: 1.419 MB / 2.157 GB, free: 10.1 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007782/2.584, allocations: 4.451 MB / 2.161 GB, free: 5.898 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.005467/2.59, allocations: 4.336 MB / 2.165 GB, free: 1.539 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.59, allocations: 0 / 2.165 GB, free: 1.539 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.433/3.023, allocations: 1.905 MB / 2.167 GB, free: 460.2 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/3.027, allocations: 0.5824 MB / 2.168 GB, free: 460.2 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.859/4.886, allocations: 1.278 GB / 3.446 GB, free: 119.1 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/4.888, allocations: 3.012 MB / 3.449 GB, free: 116.1 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.003622/4.892, allocations: 1.686 MB / 3.45 GB, free: 114.5 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002712/4.894, allocations: 2.35 MB / 3.452 GB, free: 112.1 MB / 1.232 GB Notification: Performance of SimCode: time 6.31e-07/4.894, allocations: 0 / 3.452 GB, free: 112.1 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.118/7.012, allocations: 220 MB / 3.667 GB, free: 355.8 MB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/7.012, allocations: 297.8 kB / 3.668 GB, free: 355.5 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.443/12.45, allocations: 6.5 kB / 3.668 GB, free: 355.4 MB / 1.232 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)