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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005127/0.005127, allocations: 101.6 kB / 15.73 MB, free: 5.539 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.001178/0.001178, allocations: 193.1 kB / 16.67 MB, free: 5.469 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.00203, allocations: 289.9 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8909/0.8909, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 91.84 kB / 0.6809 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4245, allocations: 86.99 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces): time 0.002238/0.4268, allocations: 1.229 MB / 0.7671 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008102/0.4276, allocations: 470.8 kB / 0.7675 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.4277, allocations: 0 / 0.7675 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.4277, allocations: 7.938 kB / 0.7675 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.961e-05/0.4278, allocations: 11.97 kB / 0.7675 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.428, allocations: 15.86 kB / 0.7676 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.705e-05/0.4281, allocations: 23.91 kB / 0.7676 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.4282, allocations: 0 / 0.7676 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.978e-05/0.4283, allocations: 11.94 kB / 0.7676 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.4283, allocations: 7.938 kB / 0.7676 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.4283, allocations: 0 / 0.7676 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.924e-05/0.4284, allocations: 19.97 kB / 0.7676 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.4285, allocations: 12 kB / 0.7676 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.4285, allocations: 0 / 0.7676 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.855e-05/0.4286, allocations: 34.72 kB / 0.7677 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4286, allocations: 0 / 0.7677 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4286, allocations: 0 / 0.7677 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.4286, allocations: 3.938 kB / 0.7677 GB, free: 2 MB / 0.5294 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.0003361/0.429, allocations: 331.4 kB / 0.768 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.429, allocations: 11.97 kB / 0.768 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.429, allocations: 34.73 kB / 0.768 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.4291, allocations: 8.938 kB / 0.768 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.4292, allocations: 164.4 kB / 0.7682 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.4292, allocations: 384 / 0.7682 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.4292, allocations: 384 / 0.7682 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.689e-05/0.4293, allocations: 41.81 kB / 0.7682 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4293, allocations: 0 / 0.7682 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.4293, allocations: 0 / 0.7682 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.4293, allocations: 4 kB / 0.7682 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.967e-05/0.4294, allocations: 3.984 kB / 0.7682 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.4295, allocations: 157.7 kB / 0.7684 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.841e-05/0.4296, allocations: 26.55 kB / 0.7684 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.4296, allocations: 10.64 kB / 0.7684 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.4298, allocations: 93.16 kB / 0.7685 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.4299, allocations: 38.48 kB / 0.7686 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4299, allocations: 3.938 kB / 0.7686 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001276/0.43, allocations: 41.64 kB / 0.7686 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.43, allocations: 59.41 kB / 0.7687 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/0.4301, allocations: 93.84 kB / 0.7687 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.4301, allocations: 29.7 kB / 0.7688 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.4302, allocations: 80.14 kB / 0.7688 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.4302, allocations: 7.906 kB / 0.7689 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.4302, allocations: 13.72 kB / 0.7689 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.4303, allocations: 319 kB / 0.7692 GB, free: 224 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.4304, allocations: 0 / 0.7692 GB, free: 224 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/0.4304, allocations: 4 kB / 0.7692 GB, free: 220 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.798e-05/0.4304, allocations: 12.86 kB / 0.7692 GB, free: 204 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4304, allocations: 0 / 0.7692 GB, free: 204 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.437e-05/0.4305, allocations: 53.56 kB / 0.7692 GB, free: 144 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.4305, allocations: 4 kB / 0.7692 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.4305, allocations: 0 / 0.7692 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.4305, allocations: 0 / 0.7692 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.4306, allocations: 8.094 kB / 0.7693 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.4306, allocations: 0 / 0.7693 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.4306, allocations: 3.906 kB / 0.7693 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.4306, allocations: 4 kB / 0.7693 GB, free: 124 kB / 0.5294 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/0.4307, allocations: 105.8 kB / 0.7694 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.4307, allocations: 3.938 kB / 0.7694 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.4308, allocations: 56.84 kB / 0.7694 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4308, allocations: 0 / 0.7694 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4308, allocations: 3.938 kB / 0.7694 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4309, allocations: 4 kB / 0.7694 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.939e-05/0.4309, allocations: 153.7 kB / 0.7696 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.431, allocations: 4 kB / 0.7696 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.431, allocations: 7.938 kB / 0.7696 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.431, allocations: 0 / 0.7696 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.431, allocations: 0 / 0.7696 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.431, allocations: 0 / 0.7696 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.431, allocations: 0 / 0.7696 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.89e-05/0.4311, allocations: 73.12 kB / 0.7697 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.4311, allocations: 92.98 kB / 0.7697 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.4312, allocations: 7.922 kB / 0.7697 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.723e-05/0.4312, allocations: 0 / 0.7697 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.4312, allocations: 0 / 0.7697 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.4312, allocations: 0 / 0.7697 GB, free: 15.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.168e-05/0.4312, allocations: 83.55 kB / 0.7698 GB, free: 15.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4312, allocations: 3.938 kB / 0.7698 GB, free: 15.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001977/0.4314, allocations: 12 kB / 0.7698 GB, free: 15.42 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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.0003165/0.4318, allocations: 0.6162 MB / 0.7704 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.572e-05/0.4319, allocations: 15.98 kB / 0.7705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4319, allocations: 0 / 0.7705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.4319, allocations: 11.94 kB / 0.7705 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.4321, allocations: 4.75 kB / 0.7705 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.4325, allocations: 151.6 kB / 0.7706 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.4327, allocations: 0.6768 MB / 0.7713 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.4327, allocations: 4 kB / 0.7713 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.4328, allocations: 7.438 kB / 0.7713 GB, free: 13.84 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4328, allocations: 7.938 kB / 0.7713 GB, free: 13.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.4482, allocations: 1.327 MB / 0.7726 GB, free: 12.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.077/7.525, allocations: 23.42 kB / 0.7726 GB, free: 12.63 MB / 0.545 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/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)