Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001052, allocations: 184.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.753/1.753, allocations: 221.5 MB / 0.7824 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009569/0.000957, allocations: 91.8 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.53e-05/2.533e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2942, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.336, allocations: 155.2 MB / 1.358 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/1.337, allocations: 88.72 kB / 1.358 GB, free: 18.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02714/1.364, allocations: 10.09 MB / 1.368 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.172e-06/1.364, allocations: 0 / 1.368 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.91e-05/1.364, allocations: 7.844 kB / 1.368 GB, free: 33.05 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.000997/1.365, allocations: 0.6933 MB / 1.368 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/1.365, allocations: 11.53 kB / 1.368 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.407e-05/1.365, allocations: 64.09 kB / 1.368 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/1.365, allocations: 343.3 kB / 1.369 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/1.365, allocations: 15.47 kB / 1.369 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/1.366, allocations: 26.88 kB / 1.369 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004334/1.366, allocations: 287.1 kB / 1.369 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/1.366, allocations: 312.5 kB / 1.369 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/1.366, allocations: 3.938 kB / 1.369 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/1.366, allocations: 3.938 kB / 1.369 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.367, allocations: 15.48 kB / 1.369 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/1.368, allocations: 1.191 MB / 1.37 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/1.369, allocations: 374.7 kB / 1.371 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/1.369, allocations: 211.4 kB / 1.371 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/1.369, allocations: 10.64 kB / 1.371 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/1.369, allocations: 36.62 kB / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=41): time 1.513e-06/1.369, allocations: 0 / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=41): time 0.001692/1.371, allocations: 0.6532 MB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/1.371, allocations: 55.12 kB / 1.372 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/1.371, allocations: 232.7 kB / 1.372 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/1.371, allocations: 25.7 kB / 1.372 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/1.371, allocations: 224.4 kB / 1.372 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.047e-05/1.371, allocations: 139.1 kB / 1.372 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/1.372, allocations: 0 / 1.372 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.372, allocations: 344.2 kB / 1.373 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/1.372, allocations: 110.7 kB / 1.373 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/1.372, allocations: 185.6 kB / 1.373 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/1.372, allocations: 137.7 kB / 1.373 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.372, allocations: 7.844 kB / 1.373 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001632/1.374, allocations: 0.6453 MB / 1.374 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/1.374, allocations: 94.41 kB / 1.374 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.374, allocations: 4 kB / 1.374 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/1.376, allocations: 402.5 kB / 1.374 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/1.376, allocations: 28.59 kB / 1.374 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/1.377, allocations: 1.101 MB / 1.375 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/1.377, allocations: 30.3 kB / 1.375 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/1.377, allocations: 13.77 kB / 1.375 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/1.377, allocations: 9.625 kB / 1.375 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001468/1.379, allocations: 0.5872 MB / 1.376 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-06/1.379, allocations: 0 / 1.376 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/1.38, allocations: 406 kB / 1.376 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/1.38, allocations: 24.59 kB / 1.376 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004696/1.385, allocations: 3.555 MB / 1.38 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/1.386, allocations: 36.48 kB / 1.38 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/1.386, allocations: 14.69 kB / 1.38 GB, free: 28.54 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001297/1.386, allocations: 105 kB / 1.38 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001468/1.387, allocations: 0.6189 MB / 1.381 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/1.387, allocations: 38.56 kB / 1.381 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/1.387, allocations: 54.34 kB / 1.381 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.387, allocations: 7.688 kB / 1.381 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/1.387, allocations: 0 / 1.381 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.387, allocations: 2.344 kB / 1.381 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/1.388, allocations: 421.6 kB / 1.381 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.388, allocations: 0 / 1.381 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/1.388, allocations: 24.89 kB / 1.381 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/1.39, allocations: 395.4 kB / 1.381 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/1.39, allocations: 3.938 kB / 1.381 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004463/1.394, allocations: 3.522 MB / 1.385 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.394, allocations: 0 / 1.385 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/1.396, allocations: 0.7365 MB / 1.386 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/1.396, allocations: 145.4 kB / 1.386 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/1.396, allocations: 6.594 kB / 1.386 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/1.396, allocations: 14.41 kB / 1.386 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/1.396, allocations: 38.92 kB / 1.386 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/1.396, allocations: 7.688 kB / 1.386 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001976/1.396, allocations: 184.3 kB / 1.386 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.396, allocations: 4 kB / 1.386 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008722/1.397, allocations: 270.7 kB / 1.386 GB, free: 26.2 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.001891/1.399, allocations: 1.274 MB / 1.387 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002211/1.401, allocations: 0.8821 MB / 1.388 GB, free: 25.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/1.401, allocations: 0 / 1.388 GB, free: 25.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007995/1.402, allocations: 458.3 kB / 1.389 GB, free: 24.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/1.403, allocations: 80 kB / 1.389 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/1.404, allocations: 0.6054 MB / 1.389 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/1.405, allocations: 0.844 MB / 1.39 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001901/1.405, allocations: 42.31 kB / 1.39 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/1.405, allocations: 121.1 kB / 1.39 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.405, allocations: 4 kB / 1.39 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03192/1.437, allocations: 12.83 MB / 1.403 GB, free: 17.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/1.437, allocations: 146.3 kB / 1.403 GB, free: 17.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.852, allocations: 0 / 1.403 GB, free: 17.37 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat does not exist to compare? outputFormat=mat