Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8498/0.8498, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 180.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 95.73 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 276.4 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.784e-05/1.754e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4942, allocations: 82.77 MB / 0.7574 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.6459, allocations: 108.1 MB / 0.863 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.6463, allocations: 79.89 kB / 0.8631 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00287/0.6492, allocations: 0.9756 MB / 0.8641 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.547e-06/0.6492, allocations: 0 / 0.8641 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.6492, allocations: 3.938 kB / 0.8641 GB, free: 2.617 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003495/0.6496, allocations: 326.5 kB / 0.8644 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.6496, allocations: 12.03 kB / 0.8644 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.6497, allocations: 0 / 0.8644 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.6498, allocations: 163.1 kB / 0.8646 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.6498, allocations: 3.953 kB / 0.8646 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.599e-06/0.6499, allocations: 4 kB / 0.8646 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.096e-05/0.6499, allocations: 0 / 0.8646 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.369e-05/0.65, allocations: 33.64 kB / 0.8646 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.65, allocations: 0 / 0.8646 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.65, allocations: 0 / 0.8646 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.65, allocations: 4 kB / 0.8646 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.6502, allocations: 134.2 kB / 0.8647 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.275e-05/0.6503, allocations: 18.61 kB / 0.8647 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.6503, allocations: 12.92 kB / 0.8648 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.6505, allocations: 89.09 kB / 0.8648 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.6506, allocations: 42.52 kB / 0.8649 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.6506, allocations: 0 / 0.8649 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001963/0.6508, allocations: 45.53 kB / 0.8649 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.6508, allocations: 51.41 kB / 0.865 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/0.6509, allocations: 101 kB / 0.8651 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.6509, allocations: 25.7 kB / 0.8651 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.651, allocations: 80.14 kB / 0.8652 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.651, allocations: 0 / 0.8652 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.651, allocations: 4.031 kB / 0.8652 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6512, allocations: 314.8 kB / 0.8655 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.6512, allocations: 4 kB / 0.8655 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-06/0.6512, allocations: 4 kB / 0.8655 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.513e-05/0.6513, allocations: 7.984 kB / 0.8655 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6513, allocations: 0 / 0.8655 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.838e-05/0.6514, allocations: 41.59 kB / 0.8655 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.6514, allocations: 8 kB / 0.8655 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6514, allocations: 4.031 kB / 0.8655 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6514, allocations: 11.89 kB / 0.8656 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.6515, allocations: 4 kB / 0.8656 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.6515, allocations: 0 / 0.8656 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/0.6515, allocations: 7.938 kB / 0.8656 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.6516, allocations: 0 / 0.8656 GB, free: 0.875 MB / 0.5261 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 (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.887e-05/0.6516, allocations: 101 kB / 0.8657 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.324e-05/0.6517, allocations: 45.69 kB / 0.8657 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.6518, allocations: 3.953 kB / 0.8657 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.6519, allocations: 61.39 kB / 0.8658 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6519, allocations: 0 / 0.8658 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.6519, allocations: 4 kB / 0.8658 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6519, allocations: 0 / 0.8658 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.6521, allocations: 134.2 kB / 0.8659 GB, free: 488 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6521, allocations: 0 / 0.8659 GB, free: 488 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.6521, allocations: 4 kB / 0.8659 GB, free: 484 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6521, allocations: 0 / 0.8659 GB, free: 484 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.6521, allocations: 0 / 0.8659 GB, free: 484 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.6522, allocations: 3.953 kB / 0.8659 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6522, allocations: 0 / 0.8659 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.6523, allocations: 73.03 kB / 0.866 GB, free: 388 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.6524, allocations: 85.09 kB / 0.8661 GB, free: 284 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.6524, allocations: 0 / 0.8661 GB, free: 284 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.747e-05/0.6524, allocations: 0 / 0.8661 GB, free: 284 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.6524, allocations: 3.953 kB / 0.8661 GB, free: 280 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.6524, allocations: 4 kB / 0.8661 GB, free: 276 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.274e-05/0.6525, allocations: 83.22 kB / 0.8661 GB, free: 192 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6525, allocations: 4 kB / 0.8661 GB, free: 188 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002049/0.6527, allocations: 15.94 kB / 0.8662 GB, free: 172 kB / 0.5261 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005073/0.6532, allocations: 0.6047 MB / 0.8668 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.717e-05/0.6533, allocations: 7.984 kB / 0.8668 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.6533, allocations: 0 / 0.8668 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.113e-05/0.6534, allocations: 20.47 kB / 0.8668 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.6536, allocations: 6.297 kB / 0.8668 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.6539, allocations: 91.56 kB / 0.8669 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.6543, allocations: 0.6806 MB / 0.8675 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.6543, allocations: 96 / 0.8675 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.6544, allocations: 15.44 kB / 0.8676 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of SimCode: time 2.9e-07/0.6544, allocations: 0 / 0.8676 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.6761, allocations: 0.7975 MB / 0.8683 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/0.6764, allocations: 162.7 kB / 0.8685 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.444, allocations: 0 / 0.8685 GB, free: 13.68 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces.fmu > BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe 2>&1)