Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",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.002044/0.002044, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002223/0.002223, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.554/2.554, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004281/0.004281, allocations: 279 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.771/1.771, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003803/0.003803, allocations: 94.66 kB / 0.5953 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2639, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.005329/0.2693, allocations: 1.703 MB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2707, allocations: 0.5124 MB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.903e-05/0.2708, allocations: 0 / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007555/0.2716, allocations: 152.1 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.2719, allocations: 57.81 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.2724, allocations: 63.8 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.2726, allocations: 99.5 kB / 0.6828 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.562e-05/0.2727, allocations: 11.98 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.2729, allocations: 32.48 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.273, allocations: 55.69 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.2731, allocations: 4.719 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.2734, allocations: 83.84 kB / 0.683 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.2736, allocations: 60.67 kB / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.2737, allocations: 55.62 kB / 0.6831 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.2742, allocations: 195.9 kB / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2742, allocations: 0 / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2742, allocations: 1.312 kB / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.2742, allocations: 0 / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00103/0.2753, allocations: 475.1 kB / 0.6837 GB, free: 13.01 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.2753, allocations: 16.02 kB / 0.6837 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/0.2754, allocations: 34.75 kB / 0.6838 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.033e-05/0.2755, allocations: 20.66 kB / 0.6838 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.2758, allocations: 215.7 kB / 0.684 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.2758, allocations: 384 / 0.684 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.2758, allocations: 8.375 kB / 0.684 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.2762, allocations: 65.92 kB / 0.6841 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2762, allocations: 0 / 0.6841 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2762, allocations: 0 / 0.6841 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2762, allocations: 3.938 kB / 0.6841 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/0.2766, allocations: 63.95 kB / 0.6841 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007393/0.2774, allocations: 336.7 kB / 0.6845 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.2776, allocations: 62.48 kB / 0.6845 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.2778, allocations: 32.91 kB / 0.6846 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.949e-05/0.2779, allocations: 15.98 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.278, allocations: 30.56 kB / 0.6846 GB, free: 12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/0.278, allocations: 4 kB / 0.6846 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007243/0.2787, allocations: 129.4 kB / 0.6847 GB, free: 11.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.2788, allocations: 55.53 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.2794, allocations: 258.7 kB / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.2794, allocations: 25.7 kB / 0.685 GB, free: 11.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.2796, allocations: 140 kB / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.2796, allocations: 3.906 kB / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.2797, allocations: 17.7 kB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.2799, allocations: 326.8 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.2801, allocations: 35.97 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.2803, allocations: 23.98 kB / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.2806, allocations: 72.73 kB / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2806, allocations: 0 / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004464/0.2811, allocations: 109.4 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.2811, allocations: 5.719 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2811, allocations: 0 / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2812, allocations: 0 / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.2813, allocations: 15.92 kB / 0.6858 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2814, allocations: 0 / 0.6858 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.2815, allocations: 11.98 kB / 0.6858 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.2815, allocations: 0 / 0.6858 GB, free: 10.74 MB / 494.1 MB 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 0.0001889/0.2817, allocations: 139.1 kB / 0.6859 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.2818, allocations: 19.84 kB / 0.6859 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/0.2823, allocations: 110.5 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2824, allocations: 0 / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2824, allocations: 0 / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2824, allocations: 0 / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.2828, allocations: 221.5 kB / 0.6862 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2828, allocations: 0 / 0.6862 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.283, allocations: 8.031 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.283, allocations: 4 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.283, allocations: 7.969 kB / 0.6863 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.283, allocations: 7.938 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.2831, allocations: 4 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.2836, allocations: 203.2 kB / 0.6865 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.2837, allocations: 96.89 kB / 0.6866 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.2837, allocations: 3.984 kB / 0.6866 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.2839, allocations: 4 kB / 0.6866 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.284, allocations: 0 / 0.6866 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.284, allocations: 7.984 kB / 0.6866 GB, free: 9.812 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003358/0.2844, allocations: 186 kB / 0.6868 GB, free: 9.633 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2844, allocations: 3.938 kB / 0.6868 GB, free: 9.629 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005489/0.285, allocations: 39.94 kB / 0.6868 GB, free: 9.59 MB / 494.1 MB 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 (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 Backend phase and start with SimCode phase: time 0.001051/0.286, allocations: 0.7745 MB / 0.6876 GB, free: 8.789 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.2865, allocations: 59.95 kB / 0.6876 GB, free: 8.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.2865, allocations: 4.094 kB / 0.6876 GB, free: 8.727 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.2867, allocations: 31.97 kB / 0.6876 GB, free: 8.695 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008874/0.2876, allocations: 41.22 kB / 0.6877 GB, free: 8.656 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.2889, allocations: 408 kB / 0.6881 GB, free: 8.219 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.2894, allocations: 0.7314 MB / 0.6888 GB, free: 7.461 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.641e-05/0.2895, allocations: 4 kB / 0.6888 GB, free: 7.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.2897, allocations: 43.42 kB / 0.6888 GB, free: 7.414 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2897, allocations: 0 / 0.6888 GB, free: 7.414 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/0.326, allocations: 3.931 MB / 0.6927 GB, free: 3.648 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.11, allocations: 7.938 kB / 0.6927 GB, free: 3.641 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)