Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Shade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",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.001012/0.001012, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001214/0.001214, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.594/2.594, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 19.98 kB / 0.8378 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7744/0.7748, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.003068/0.778, allocations: 2.536 MB / 0.9836 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.7793, allocations: 0.7533 MB / 0.9843 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.7795, allocations: 7.938 kB / 0.9844 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.7797, allocations: 43.62 kB / 0.9844 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.78, allocations: 115.1 kB / 0.9845 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.7803, allocations: 115.9 kB / 0.9846 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.7808, allocations: 478.8 kB / 0.9851 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.7811, allocations: 157.6 kB / 0.9852 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.7813, allocations: 155.3 kB / 0.9854 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.7815, allocations: 183.2 kB / 0.9855 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.7816, allocations: 16 kB / 0.9856 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.781e-05/0.7816, allocations: 16 kB / 0.9856 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.7817, allocations: 63.69 kB / 0.9856 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.803e-05/0.7818, allocations: 93.45 kB / 0.9857 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.7821, allocations: 321.4 kB / 0.986 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.7821, allocations: 0 / 0.986 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7821, allocations: 0 / 0.986 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.7821, allocations: 0 / 0.986 GB, free: 1.199 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001067/0.7832, allocations: 0.6781 MB / 0.9867 GB, free: 484 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.7832, allocations: 8.031 kB / 0.9867 GB, free: 476 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.525e-05/0.7833, allocations: 70.53 kB / 0.9868 GB, free: 396 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.7834, allocations: 51.44 kB / 0.9868 GB, free: 344 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.7838, allocations: 314.2 kB / 0.9871 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.7839, allocations: 29 kB / 0.9871 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.7839, allocations: 32 kB / 0.9872 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.7845, allocations: 388.8 kB / 0.9876 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.7846, allocations: 0 / 0.9876 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.7846, allocations: 16 kB / 0.9876 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.7846, allocations: 8 kB / 0.9876 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/0.7851, allocations: 282.3 kB / 0.9878 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.7869, allocations: 1.46 MB / 0.9893 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.7875, allocations: 284.8 kB / 0.9895 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.7878, allocations: 181.2 kB / 0.9897 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.7879, allocations: 12.2 kB / 0.9897 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.7879, allocations: 38.8 kB / 0.9898 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=27): time 1.543e-06/0.7879, allocations: 0 / 0.9898 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=27): time 0.002739/0.7907, allocations: 0.8913 MB / 0.9906 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.7907, allocations: 55.41 kB / 0.9907 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.7911, allocations: 357.7 kB / 0.991 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.7911, allocations: 29.7 kB / 0.9911 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.7913, allocations: 212.2 kB / 0.9913 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.997e-05/0.7914, allocations: 98.58 kB / 0.9913 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.7914, allocations: 8 kB / 0.9914 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7915, allocations: 350.8 kB / 0.9917 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.7917, allocations: 100.5 kB / 0.9918 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.792, allocations: 163.9 kB / 0.9919 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.7922, allocations: 119.9 kB / 0.9921 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7922, allocations: 0 / 0.9921 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001063/0.7933, allocations: 493.5 kB / 0.9925 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/0.7934, allocations: 125.8 kB / 0.9926 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.7934, allocations: 8.156 kB / 0.9927 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007001/0.7941, allocations: 176.7 kB / 0.9928 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.7943, allocations: 43.91 kB / 0.9929 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/0.7976, allocations: 2.478 MB / 0.9953 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.798, allocations: 47.67 kB / 0.9953 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.798, allocations: 8 kB / 0.9953 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.798, allocations: 4 kB / 0.9953 GB, free: 7.199 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.799, allocations: 437.5 kB / 0.9958 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.799, allocations: 4 kB / 0.9958 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/0.7996, allocations: 188.7 kB / 0.9959 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.7998, allocations: 47.97 kB / 0.996 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.8026, allocations: 2.364 MB / 0.9983 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.803, allocations: 51.66 kB / 0.9983 GB, free: 3.988 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.803, allocations: 12 kB / 0.9984 GB, free: 3.977 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 17 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002288/0.8032, allocations: 229 kB / 0.9986 GB, free: 3.742 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.8033, allocations: 35.62 kB / 0.9986 GB, free: 3.707 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.986e-05/0.8034, allocations: 48.14 kB / 0.9987 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.8034, allocations: 4 kB / 0.9987 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.8034, allocations: 0 / 0.9987 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.8034, allocations: 0 / 0.9987 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.8039, allocations: 421.5 kB / 0.9991 GB, free: 3.188 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8039, allocations: 4 kB / 0.9991 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.804, allocations: 31.97 kB / 0.9991 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005826/0.8046, allocations: 178.2 kB / 0.9993 GB, free: 2.977 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.8047, allocations: 4 kB / 0.9993 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00275/0.8074, allocations: 2.369 MB / 1.002 GB, free: 484 kB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8074, allocations: 3.938 kB / 1.002 GB, free: 480 kB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.8085, allocations: 0.5551 MB / 1.002 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.8086, allocations: 136.5 kB / 1.002 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.8087, allocations: 8 kB / 1.002 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.8089, allocations: 11.98 kB / 1.002 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.809, allocations: 35.88 kB / 1.002 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.809, allocations: 12 kB / 1.002 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002492/0.8093, allocations: 255.2 kB / 1.003 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2e-07/0.8093, allocations: 4 kB / 1.003 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007382/0.81, allocations: 255.6 kB / 1.003 GB, free: 15.17 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 10 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.001309/0.8114, allocations: 1.087 MB / 1.004 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.8128, allocations: 0.7709 MB / 1.005 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8128, allocations: 0 / 1.005 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004963/0.8133, allocations: 334.8 kB / 1.005 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.8139, allocations: 90.22 kB / 1.005 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.8175, allocations: 2.251 MB / 1.007 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.8178, allocations: 0.8115 MB / 1.008 GB, free: 9.668 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.818, allocations: 39.27 kB / 1.008 GB, free: 9.633 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.8181, allocations: 111.4 kB / 1.008 GB, free: 9.523 MB / 0.7637 GB Notification: Performance of SimCode: time 5.81e-07/0.8182, allocations: 0 / 1.008 GB, free: 9.523 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.8449, allocations: 11.12 MB / 1.019 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.8452, allocations: 232.1 kB / 1.019 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.858, allocations: 1 kB / 1.019 GB, free: 14.45 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat does not exist to compare? outputFormat=mat