Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",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.004504/0.004504, allocations: 99.95 kB / 15.73 MB, free: 6.059 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.001205/0.001205, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002331/0.002331, allocations: 281.8 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9542/0.9542, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 100.3 kB / 0.681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.374, allocations: 86.97 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002878/0.377, allocations: 1.716 MB / 0.7676 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.3784, allocations: 0.9928 MB / 0.7685 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.3784, allocations: 0 / 0.7685 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.3788, allocations: 151.4 kB / 0.7687 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.012e-05/0.3789, allocations: 55.72 kB / 0.7687 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.3792, allocations: 103.6 kB / 0.7688 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.3794, allocations: 103.4 kB / 0.7689 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.3795, allocations: 11.8 kB / 0.7689 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.3795, allocations: 39.84 kB / 0.769 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.719e-05/0.3796, allocations: 51.75 kB / 0.769 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.3796, allocations: 4 kB / 0.769 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.3799, allocations: 143.7 kB / 0.7692 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.143e-05/0.38, allocations: 59.8 kB / 0.7692 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.3801, allocations: 63.55 kB / 0.7693 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.3804, allocations: 232.4 kB / 0.7695 GB, free: 128 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3804, allocations: 4 kB / 0.7695 GB, free: 124 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3804, allocations: 0 / 0.7695 GB, free: 124 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.3805, allocations: 0 / 0.7695 GB, free: 124 kB / 0.5294 GB 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.0006338/0.3811, allocations: 0.5056 MB / 0.77 GB, free: 15.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3811, allocations: 12.03 kB / 0.77 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.3812, allocations: 38.73 kB / 0.7701 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.3812, allocations: 20.8 kB / 0.7701 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.3814, allocations: 215.9 kB / 0.7703 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3814, allocations: 384 / 0.7703 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.3814, allocations: 384 / 0.7703 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.3816, allocations: 69.61 kB / 0.7703 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.3816, allocations: 0 / 0.7703 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.3816, allocations: 0 / 0.7703 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.3817, allocations: 0 / 0.7703 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.3819, allocations: 55.95 kB / 0.7704 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.3823, allocations: 344.8 kB / 0.7707 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.3825, allocations: 66.55 kB / 0.7708 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3826, allocations: 28.91 kB / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.3827, allocations: 11.98 kB / 0.7708 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.3827, allocations: 34.56 kB / 0.7709 GB, free: 14.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3827, allocations: 0 / 0.7709 GB, free: 14.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003992/0.3831, allocations: 141.4 kB / 0.771 GB, free: 14.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.3831, allocations: 55.41 kB / 0.771 GB, free: 14.35 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.3834, allocations: 258.7 kB / 0.7713 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3834, allocations: 25.7 kB / 0.7713 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3835, allocations: 132.1 kB / 0.7714 GB, free: 13.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.3836, allocations: 11.94 kB / 0.7715 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.3836, allocations: 13.72 kB / 0.7715 GB, free: 13.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3838, allocations: 338.9 kB / 0.7718 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-05/0.3839, allocations: 27.97 kB / 0.7718 GB, free: 13.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.537e-05/0.384, allocations: 31.97 kB / 0.7719 GB, free: 13.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.3841, allocations: 60.81 kB / 0.7719 GB, free: 13.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3841, allocations: 0 / 0.7719 GB, free: 13.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002342/0.3844, allocations: 117.5 kB / 0.772 GB, free: 13.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3844, allocations: 4 kB / 0.772 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3844, allocations: 0 / 0.772 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.3844, allocations: 3.938 kB / 0.772 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.106e-05/0.3845, allocations: 11.98 kB / 0.772 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.3845, allocations: 0 / 0.772 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.3846, allocations: 7.984 kB / 0.772 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3846, allocations: 8.031 kB / 0.7721 GB, free: 13.29 MB / 0.545 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 0.0001143/0.3847, allocations: 140.2 kB / 0.7722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.3848, allocations: 23.88 kB / 0.7722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.3851, allocations: 110.5 kB / 0.7723 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3851, allocations: 0 / 0.7723 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3851, allocations: 3.938 kB / 0.7723 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3851, allocations: 0 / 0.7723 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.3853, allocations: 229.6 kB / 0.7725 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3853, allocations: 0 / 0.7725 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.3854, allocations: 7.984 kB / 0.7725 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3854, allocations: 0 / 0.7725 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3854, allocations: 0 / 0.7725 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3854, allocations: 4 kB / 0.7726 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3854, allocations: 0 / 0.7726 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.3857, allocations: 215.3 kB / 0.7728 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.3858, allocations: 92.97 kB / 0.7728 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.3858, allocations: 3.938 kB / 0.7728 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.3859, allocations: 4 kB / 0.7729 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.386, allocations: 7.984 kB / 0.7729 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.386, allocations: 0 / 0.7729 GB, free: 12.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001823/0.3862, allocations: 193.9 kB / 0.773 GB, free: 12.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3862, allocations: 0 / 0.773 GB, free: 12.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002801/0.3864, allocations: 59.84 kB / 0.7731 GB, free: 12.11 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 (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.0007275/0.3872, allocations: 0.7863 MB / 0.7739 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.3874, allocations: 67.92 kB / 0.7739 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3874, allocations: 0 / 0.7739 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.525e-05/0.3875, allocations: 31.97 kB / 0.774 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.388, allocations: 45.14 kB / 0.774 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007283/0.3887, allocations: 423.5 kB / 0.7744 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.3891, allocations: 0.7298 MB / 0.7751 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.3891, allocations: 15.73 kB / 0.7751 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.3892, allocations: 51.42 kB / 0.7752 GB, free: 9.883 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.3892, allocations: 0 / 0.7752 GB, free: 9.883 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.4145, allocations: 4.124 MB / 0.7792 GB, free: 5.941 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.913, allocations: 10.86 kB / 0.7792 GB, free: 5.934 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi_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_wDerPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)